#include <annotations.h>
Inherits PrivateXML, and PrivateXMLHandler.
Inheritance diagram for Annotations:
Public Member Functions | |
Annotations (ClientBase *parent) | |
virtual | ~Annotations () |
void | storeAnnotations (const AnnotationsHandler::AnnotationsList &aList) |
void | requestAnnotations () |
void | registerAnnotationsHandler (AnnotationsHandler *ah) |
void | removeAnnotationsHandler () |
virtual void | handlePrivateXML (const std::string &tag, Tag *xml) |
virtual void | handlePrivateXMLResult (const std::string, PrivateXMLResult) |
Definition at line 38 of file annotations.h.
|
Constructs a new Annotations object.
Definition at line 22 of file annotations.cpp. |
|
Virtual destructor. Definition at line 28 of file annotations.cpp. |
|
Reimplement this function to receive the private XML that was requested earlier using
Implements PrivateXMLHandler. Definition at line 58 of file annotations.cpp. References Tag::children(). |
|
Use this function to register a AnnotationsHandler.
Definition at line 88 of file annotations.cpp. |
|
Use this function to un-register the AnnotationsHandler. Definition at line 93 of file annotations.cpp. |
|
Use this function to initiate retrieval of annotations. Use registerAnnotationsHandler() to register an object which will receive the lists of notes. Definition at line 53 of file annotations.cpp. References PrivateXML::requestXML(). |
|
Use this function to store notes (annotations to contacts in a roster) on the server. Make sure you store the whole set of annotations, not a 'delta'.
Definition at line 32 of file annotations.cpp. References Tag::addAttrib(), and Tag::addChild(). |