00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #include <string>
00010 #include <boost/shared_ptr.hpp>
00011
00012 #include <Swiften/Base/API.h>
00013 #include <Swiften/Elements/VCard.h>
00014
00015 namespace Swift {
00016 class JID;
00017
00018 class SWIFTEN_API VCardStorage {
00019 public:
00020 virtual ~VCardStorage();
00021
00022 virtual VCard::ref getVCard(const JID& jid) const = 0;
00023 virtual void setVCard(const JID&, VCard::ref) = 0;
00024
00025 virtual std::string getPhotoHash(const JID&) const;
00026 };
00027 }