summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Avatars/AvatarStorage.h')
-rw-r--r--Swiften/Avatars/AvatarStorage.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Swiften/Avatars/AvatarStorage.h b/Swiften/Avatars/AvatarStorage.h
index d699f40..826a648 100644
--- a/Swiften/Avatars/AvatarStorage.h
+++ b/Swiften/Avatars/AvatarStorage.h
@@ -9,17 +9,17 @@
#include <boost/filesystem.hpp>
namespace Swift {
- class String;
+
class ByteArray;
class AvatarStorage {
public:
virtual ~AvatarStorage();
- virtual bool hasAvatar(const String& hash) const = 0;
- virtual void addAvatar(const String& hash, const ByteArray& avatar) = 0;
- virtual ByteArray getAvatar(const String& hash) const = 0;
- virtual boost::filesystem::path getAvatarPath(const String& hash) const = 0;
+ virtual bool hasAvatar(const std::string& hash) const = 0;
+ virtual void addAvatar(const std::string& hash, const ByteArray& avatar) = 0;
+ virtual ByteArray getAvatar(const std::string& hash) const = 0;
+ virtual boost::filesystem::path getAvatarPath(const std::string& hash) const = 0;
};
}