• Main Page
  • Classes
  • Files
  • File List

Swiften/VCards/VCardStorage.h

00001 /*
00002  * Copyright (c) 2010 Remko Tronçon
00003  * Licensed under the GNU General Public License v3.
00004  * See Documentation/Licenses/GPLv3.txt for more information.
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 }

Generated on Fri Oct 12 2012 21:00:19 for Swiften by  doxygen 1.7.1