#include <vcardhandler.h>
Public Types | |
| FetchVCard | |
| StoreVCard | |
| 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 32 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 38 of file vcardhandler.h.
| virtual ~VCardHandler | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 47 of file vcardhandler.h.
| virtual void handleVCardResult | ( | VCardContext | context, | |
| const JID & | jid, | |||
| StanzaError | se = StanzaErrorUndefined | |||
| ) | [pure virtual] |
This function is called to indicate a successful VCArd store operation or any error that occurs.
| context | The operation which yielded the result. | |
| jid | The JID involved. | |
| se | The error, if any. If equal to StanzaErrorUndefined no error occured. |
1.4.7