#include <vcardhandler.h>
Public Types | |
enum | VCardContext { FetchVCard, StoreVCard } |
Public Member Functions | |
virtual | ~VCardHandler () |
virtual void | handleVCard (const JID &jid, VCard *vcard)=0 |
virtual void | handleVCardResult (VCardContext context, const JID &jid, StanzaError se=StanzaErrorUndefined)=0 |
Derive from this interface and register with the VCardManager. See VCardManager for info on how to fetch VCards.
Definition at line 36 of file vcardhandler.h.
enum VCardContext |
Describes possible operation contexts.
FetchVCard | Operation involves fetching a VCard. |
StoreVCard | Operation involves storing a VCard. |
Definition at line 42 of file vcardhandler.h.
virtual ~VCardHandler | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 51 of file vcardhandler.h.
virtual void handleVCardResult | ( | VCardContext | context, | |
const JID & | jid, | |||
StanzaError | se = StanzaErrorUndefined | |||
) | [pure virtual] |