summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Avatars/AvatarManager.h')
-rw-r--r--Swiften/Avatars/AvatarManager.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/Swiften/Avatars/AvatarManager.h b/Swiften/Avatars/AvatarManager.h
index 543d167..d3d593d 100644
--- a/Swiften/Avatars/AvatarManager.h
+++ b/Swiften/Avatars/AvatarManager.h
@@ -22,6 +22,7 @@ namespace Swift {
class AvatarStorage;
class StanzaChannel;
class VCardManager;
+ class VCardUpdateAvatarManager;
class AvatarManager {
public:
@@ -32,23 +33,10 @@ namespace Swift {
virtual boost::filesystem::path getAvatarPath(const JID&) const;
-// virtual void setAvatar(const JID&, const ByteArray& avatar);*/
-
public:
boost::signal<void (const JID&, const String& /*hash*/)> onAvatarChanged;
private:
- void handlePresenceReceived(boost::shared_ptr<Presence>);
- void handleVCardChanged(const JID& from, VCard::ref);
- void setAvatarHash(const JID& from, const String& hash);
- JID getAvatarJID(const JID& o) const;
- String getAvatarHash(const JID&) const;
-
- private:
- VCardManager* vcardManager_;
- StanzaChannel* stanzaChannel_;
- AvatarStorage* avatarStorage_;
- MUCRegistry* mucRegistry_;
- std::map<JID, String> avatarHashes_;
+ VCardUpdateAvatarManager* vcardUpdateAvatarManager;
};
}