• Main Page
  • Classes
  • Files
  • File List

Swiften/Avatars/AvatarManager.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 <boost/filesystem/path.hpp>
00010 
00011 #include <Swiften/Base/API.h>
00012 #include <Swiften/Base/boost_bsignals.h>
00013 #include <Swiften/Base/ByteArray.h>
00014 
00015 namespace Swift {
00016   class JID;
00017 
00018   class SWIFTEN_API AvatarManager {
00019     public:
00020       virtual ~AvatarManager();
00021 
00022       virtual ByteArray getAvatar(const JID&) const = 0;
00023       virtual boost::filesystem::path getAvatarPath(const JID&) const = 0;
00024 
00025       boost::signal<void (const JID&)> onAvatarChanged;
00026   };
00027 }

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