LeechCraft Azoth  %{LEECHCRAFT_VERSION}
Modular multiprotocol IM plugin for LeechCraft
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
LeechCraft::Azoth::ISupportMood Class Referenceabstract

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...
 

Detailed Description

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).

See Also
IAccount

Definition at line 50 of file isupportmood.h.

Constructor & Destructor Documentation

virtual LeechCraft::Azoth::ISupportMood::~ISupportMood ( )
inlinevirtual

Definition at line 53 of file isupportmood.h.

Member Function Documentation

virtual void LeechCraft::Azoth::ISupportMood::SetMood ( const QString &  mood,
const QString &  text 
)
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.

Parameters
[in]moodThe mood name.
[in]textThe additional text message (optional).

The documentation for this class was generated from the following file: