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)> | onVCardChanged |
The JID will always be bare. | |
boost::signal< void(VCard::ref)> | onOwnVCardChanged |
Emitted when our own vcard changes. |
Definition at line 21 of file VCardManager.h.
Swift::VCardManager::VCardManager | ( | const JID & | ownJID, | |
IQRouter * | iqRouter, | |||
VCardStorage * | vcardStorage | |||
) |
Swift::VCardManager::~VCardManager | ( | ) |
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 | ) |
boost::signal<void (VCard::ref)> Swift::VCardManager::onOwnVCardChanged |
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.