#include <flexoffhandler.h>
Implementation of this virtual interface allows for retrieval of offline messages following XEP-0030.
- Author
- Jakob Schröter js@ca.nosp@m.maya.nosp@m..net
- Since
- 0.7
Definition at line 43 of file flexoffhandler.h.
virtual void handleFlexibleOfflineMessageHeaders |
( |
const Disco::ItemList & |
headers | ) |
|
|
pure virtual |
This function is called when the offline message headers arrive. Call FlexibleOffline::fetchHeaders() to trigger the check.
- Parameters
-
headers | A map of ID/sender pairs describing the offline messages. |
virtual void handleFlexibleOfflineMsgNum |
( |
int |
num | ) |
|
|
pure virtual |
This function is called to announce the number of available offline messages. Call FlexibleOffline::getMsgCount() to trigger the check.
- Parameters
-
num | The number of stored offline messages. |
This function is called to indicate the result of a fetch or delete instruction.
- Parameters
-
foResult | The result of the operation. |
virtual void handleFlexibleOfflineSupport |
( |
bool |
support | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: