gloox
1.0
|
#include <privacylisthandler.h>
Public Types | |
typedef std::list< PrivacyItem > | PrivacyList |
Public Member Functions | |
virtual | ~PrivacyListHandler () |
virtual void | handlePrivacyListNames (const std::string &active, const std::string &def, const StringList &lists)=0 |
virtual void | handlePrivacyList (const std::string &name, const PrivacyList &items)=0 |
virtual void | handlePrivacyListChanged (const std::string &name)=0 |
virtual void | handlePrivacyListResult (const std::string &id, PrivacyListResult plResult)=0 |
A virtual interface that allows to retrieve Privacy Lists.
Definition at line 50 of file privacylisthandler.h.
typedef std::list<PrivacyItem> PrivacyList |
A list of PrivacyItems.
Definition at line 57 of file privacylisthandler.h.
virtual ~PrivacyListHandler | ( | ) | [inline, virtual] |
Virtual Destructor.
Definition at line 62 of file privacylisthandler.h.
virtual void handlePrivacyList | ( | const std::string & | name, |
const PrivacyList & | items | ||
) | [pure virtual] |
Reimplement this function to retrieve the content of a privacy list after requesting it using PrivacyManager::requestList().
name | The name of the list. |
items | A list of PrivacyItem's. |
virtual void handlePrivacyListChanged | ( | const std::string & | name | ) | [pure virtual] |
Reimplement this function to be notified about new or changed lists.
name | The name of the new or changed list. |
virtual void handlePrivacyListNames | ( | const std::string & | active, |
const std::string & | def, | ||
const StringList & | lists | ||
) | [pure virtual] |
Reimplement this function to retrieve the list of privacy list names after requesting it using PrivacyManager::requestListNames().
active | The name of the active list. |
def | The name of the default list. |
lists | All the lists. |
virtual void handlePrivacyListResult | ( | const std::string & | id, |
PrivacyListResult | plResult | ||
) | [pure virtual] |
Reimplement this function to receive results of stores etc.
id | The ID of the request, as returned by the initiating function. |
plResult | The result of an operation. |