LeechCraft Azoth
0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
ihavecontacttune.h
Go to the documentation of this file.
1
/**********************************************************************
2
* LeechCraft - modular cross-platform feature rich internet client.
3
* Copyright (C) 2006-2014 Georg Rudoy
4
*
5
* Distributed under the Boost Software License, Version 1.0.
6
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7
**********************************************************************/
8
9
#pragma once
10
11
#include <QtPlugin>
12
13
class
QString;
14
15
namespace
Media
16
{
17
struct
AudioInfo;
18
}
19
20
namespace
LC
21
{
22
namespace
Azoth
23
{
39
class
IHaveContactTune
40
{
41
public
:
42
virtual
~IHaveContactTune
() {}
43
53
virtual
Media::AudioInfo
GetUserTune
(
const
QString& variant)
const
= 0;
54
protected
:
64
virtual
void
tuneChanged
(
const
QString& variant) = 0;
65
};
66
}
67
}
68
69
Q_DECLARE_INTERFACE (
LC::Azoth::IHaveContactTune
,
70
"org.LeechCraft.Azoth.IHaveContactTune/1.0"
)
LC::Azoth::IHaveContactTune::tuneChanged
virtual void tuneChanged(const QString &variant)=0
Notifies that entry's current tune has changed.
Media
Definition:
ihavecontacttune.h:15
LC::Azoth::IHaveContactTune::~IHaveContactTune
virtual ~IHaveContactTune()
Definition:
ihavecontacttune.h:42
LC
Definition:
activityinfo.h:13
LC::Azoth::IHaveContactTune
Interface for contacts announcing their current tune.
Definition:
ihavecontacttune.h:39
LC::Azoth::IHaveContactTune::GetUserTune
virtual Media::AudioInfo GetUserTune(const QString &variant) const =0
Returns the user tune for the given variant.
src
plugins
azoth
interfaces
azoth
ihavecontacttune.h
Generated by
1.8.17