summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-06-07 22:34:19 (GMT)
committerTobias Markmann <tm@ayena.de>2015-06-08 09:37:53 (GMT)
commitb6b0695643f932827add43b9de0e09ed74eb6799 (patch)
tree72456efba9fab6fbc6004a98f0a61b7a8167f791 /Swiften/Avatars
parent3741c9ad5c0cc6f92e4ed913d67b3b530882334e (diff)
downloadswift-b6b0695643f932827add43b9de0e09ed74eb6799.zip
swift-b6b0695643f932827add43b9de0e09ed74eb6799.tar.bz2
Add missing SWIFTEN_API annotations to public Swiften API
Test-Information: Tested build on Windows 8 with VS 2014 and ran unit tests. Change-Id: I3d8096df4801be6901f22564e36eecba0e7310c4
Diffstat (limited to 'Swiften/Avatars')
-rw-r--r--Swiften/Avatars/AvatarMemoryStorage.h5
-rw-r--r--Swiften/Avatars/OfflineAvatarManager.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/Swiften/Avatars/AvatarMemoryStorage.h b/Swiften/Avatars/AvatarMemoryStorage.h
index 27d6d67..bd67e74 100644
--- a/Swiften/Avatars/AvatarMemoryStorage.h
+++ b/Swiften/Avatars/AvatarMemoryStorage.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -12,9 +12,10 @@
#include <Swiften/Base/ByteArray.h>
#include <Swiften/Avatars/AvatarStorage.h>
#include <Swiften/JID/JID.h>
+#include <Swiften/Base/API.h>
namespace Swift {
- class AvatarMemoryStorage : public AvatarStorage {
+ class SWIFTEN_API AvatarMemoryStorage : public AvatarStorage {
public:
virtual bool hasAvatar(const std::string& hash) const { return avatars.find(hash) != avatars.end(); }
virtual void addAvatar(const std::string& hash, const ByteArray& avatar) { avatars[hash] = avatar; }
diff --git a/Swiften/Avatars/OfflineAvatarManager.h b/Swiften/Avatars/OfflineAvatarManager.h
index c70f955..22345ae 100644
--- a/Swiften/Avatars/OfflineAvatarManager.h
+++ b/Swiften/Avatars/OfflineAvatarManager.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -7,11 +7,12 @@
#pragma once
#include <Swiften/Avatars/AvatarProvider.h>
+#include <Swiften/Base/API.h>
namespace Swift {
class AvatarStorage;
- class OfflineAvatarManager : public AvatarProvider {
+ class SWIFTEN_API OfflineAvatarManager : public AvatarProvider {
public:
OfflineAvatarManager(AvatarStorage*);
~OfflineAvatarManager();