00001
00002
00003
00004
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 }