![]() |
LeechCraft Azoth
0.6.70-3565-g2d86529
Modular multiprotocol IM plugin for LeechCraft
|
Interface for accounts supporting user activity. More...
#include "isupportactivity.h"
Public Member Functions | |
virtual | ~ISupportActivity () |
virtual void | SetActivity (const QString &general, const QString &specific, const QString &text)=0 |
Publishes the current user activity. More... | |
Interface for accounts supporting user activity.
This interface can be implemented by account objects to advertise the support for publishing current user activity.
The activities concept in Azoth is based on the XMPP XEP-0108: User Activities (http://xmpp.org/extensions/xep-0108.html).
Definition at line 48 of file isupportactivity.h.
|
inlinevirtual |
Definition at line 51 of file isupportactivity.h.
|
pure virtual |
Publishes the current user activity.
The activity information is divided into three pieces: general activity (required), specific activity (optional) and an optional text.
The possible values of the general and specific fields are listed in http://xmpp.org/extensions/xep-0108.html.
[in] | general | The general activity. |
[in] | specific | The specific activity (optional). |
[in] | text | The additional text message (optional). |