List of all members.
Public Member Functions |
virtual | ~AvatarStorage () |
virtual bool | hasAvatar (const std::string &hash) const =0 |
virtual void | addAvatar (const std::string &hash, const ByteArray &avatar)=0 |
virtual ByteArray | getAvatar (const std::string &hash) const =0 |
virtual boost::filesystem::path | getAvatarPath (const std::string &hash) const =0 |
virtual void | setAvatarForJID (const JID &jid, const std::string &hash)=0 |
virtual std::string | getAvatarForJID (const JID &jid) const =0 |
Detailed Description
Definition at line 18 of file AvatarStorage.h.
Constructor & Destructor Documentation
virtual Swift::AvatarStorage::~AvatarStorage |
( |
|
) |
[virtual] |
Member Function Documentation
virtual void Swift::AvatarStorage::addAvatar |
( |
const std::string & |
hash, |
|
|
const ByteArray & |
avatar | |
|
) |
| | [pure virtual] |
virtual ByteArray Swift::AvatarStorage::getAvatar |
( |
const std::string & |
hash |
) |
const [pure virtual] |
virtual std::string Swift::AvatarStorage::getAvatarForJID |
( |
const JID & |
jid |
) |
const [pure virtual] |
virtual boost::filesystem::path Swift::AvatarStorage::getAvatarPath |
( |
const std::string & |
hash |
) |
const [pure virtual] |
virtual bool Swift::AvatarStorage::hasAvatar |
( |
const std::string & |
hash |
) |
const [pure virtual] |
virtual void Swift::AvatarStorage::setAvatarForJID |
( |
const JID & |
jid, |
|
|
const std::string & |
hash | |
|
) |
| | [pure virtual] |