Public Member Functions | Public Attributes

Swift::VCardManager Class Reference

Collaboration diagram for Swift::VCardManager:

List of all members.

Public Member Functions

 VCardManager (const JID &ownJID, IQRouter *iqRouter, VCardStorage *vcardStorage)
 ~VCardManager ()
VCard::ref getVCard (const JID &jid) const
VCard::ref getVCardAndRequestWhenNeeded (const JID &jid)
void requestVCard (const JID &jid)
void requestOwnVCard ()
std::string getPhotoHash (const JID &jid) const
SetVCardRequest::ref createSetVCardRequest (VCard::ref)

Public Attributes

boost::signal< void(const JID
&, VCard::ref)> 
 The JID will always be bare.
boost::signal< void(VCard::ref)> onOwnVCardChanged
 Emitted when our own vcard changes.

Detailed Description

Definition at line 21 of file VCardManager.h.

Constructor & Destructor Documentation

Swift::VCardManager::VCardManager ( const JID ownJID,
IQRouter iqRouter,
VCardStorage vcardStorage 
Swift::VCardManager::~VCardManager (  ) 

Member Function Documentation

SetVCardRequest::ref Swift::VCardManager::createSetVCardRequest ( VCard::ref   ) 
std::string Swift::VCardManager::getPhotoHash ( const JID jid  )  const
VCard::ref Swift::VCardManager::getVCard ( const JID jid  )  const
VCard::ref Swift::VCardManager::getVCardAndRequestWhenNeeded ( const JID jid  ) 
void Swift::VCardManager::requestOwnVCard (  ) 
void Swift::VCardManager::requestVCard ( const JID jid  ) 

Member Data Documentation

Emitted when our own vcard changes.

onVCardChanged will also be emitted.

Definition at line 47 of file VCardManager.h.

boost::signal<void (const JID&, VCard::ref)> Swift::VCardManager::onVCardChanged

The JID will always be bare.

Definition at line 40 of file VCardManager.h.