![]() |
LeechCraft Azoth
0.6.70-6645-gcd10d7e
Modular multiprotocol IM plugin for LeechCraft
|
Interface for accounts supporting user mood. More...
#include "isupportmood.h"
Public Member Functions | |
virtual | ~ISupportMood () |
virtual void | SetMood (const QString &mood, const QString &text)=0 |
Publishes the current user mood. More... | |
Interface for accounts supporting user mood.
This interface can be implemented by account objects to advertise the support for publishing current user mood.
The mood concept in Azoth is based on the XMPP XEP-0107: User Mood (http://xmpp.org/extensions/xep-0107.html).
Definition at line 50 of file isupportmood.h.
|
inlinevirtual |
Definition at line 53 of file isupportmood.h.
References Q_DECLARE_INTERFACE(), and SetMood().
|
pure virtual |
Publishes the current user mood.
The mood information is divided into two pieces: mood name (required) and an optional text.
The possible values of the mood name are listed in http://xmpp.org/extensions/xep-0107.html.
[in] | mood | The mood name. |
[in] | text | The additional text message (optional). |
Referenced by ~ISupportMood().