diff options
Diffstat (limited to 'Swiften/Avatars/AvatarProvider.h')
-rw-r--r-- | Swiften/Avatars/AvatarProvider.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Swiften/Avatars/AvatarProvider.h b/Swiften/Avatars/AvatarProvider.h new file mode 100644 index 0000000..b953ad3 --- /dev/null +++ b/Swiften/Avatars/AvatarProvider.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 Remko Tronçon + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include "Swiften/Base/boost_bsignals.h" +#include "Swiften/Base/String.h" + +namespace Swift { + class JID; + + class AvatarProvider { + public: + virtual ~AvatarProvider(); + + virtual String getAvatarHash(const JID&) const = 0; + + boost::signal<void (const JID&)> onAvatarChanged; + }; +} |