![]() |
LeechCraft Azoth
0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
|
Interface for contacts announcing their current tune. More...
#include "ihavecontacttune.h"
Public Member Functions | |
virtual | ~IHaveContactTune () |
virtual Media::AudioInfo | GetUserTune (const QString &variant) const =0 |
Returns the user tune for the given variant. More... | |
Protected Member Functions | |
virtual void | tuneChanged (const QString &variant)=0 |
Notifies that entry's current tune has changed. More... | |
Interface for contacts announcing their current tune.
This interface should be implemented by those contact list entries (ICLEntry objects) that support providing information about their current tune.
Different variants of an entry (as per ICLEntry::Variants()) can have different tunes, so exact variant is specified both when announcing the tune change via the tuneChanged() signal and when retrieving the tune via the GetUserTune() function.
Definition at line 39 of file ihavecontacttune.h.
|
inlinevirtual |
Definition at line 42 of file ihavecontacttune.h.
|
pure virtual |
Returns the user tune for the given variant.
If the contact does not announce any tune on this variant, an empty Media::AudioInfo structure is returned.
[in] | variant | The variant to query |
|
protectedpure virtual |
Notifies that entry's current tune has changed.
The actual tune is obtained via the GetUserTune() method.
[out] | variant | Variant of the entry whose tune has changed. |