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 00011 #include <Swiften/Base/API.h> 00012 #include <Swiften/Base/boost_bsignals.h> 00013 00014 namespace Swift { 00015 class JID; 00016 00017 class SWIFTEN_API AvatarProvider { 00018 public: 00019 virtual ~AvatarProvider(); 00020 00021 virtual std::string getAvatarHash(const JID&) const = 0; 00022 00023 boost::signal<void (const JID&)> onAvatarChanged; 00024 }; 00025 }