diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-09-17 18:01:03 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-09-17 18:01:03 (GMT) |
commit | 3d6aa3b50090c19b50ae488494f1459bade88da3 (patch) | |
tree | 60db50a40f01d2dc4b48e5aee1011f0e72643c39 /Swiften/Avatars | |
parent | 7693734b10699b5fc4bfc3d7dc33128d558e202d (diff) | |
download | swift-3d6aa3b50090c19b50ae488494f1459bade88da3.zip swift-3d6aa3b50090c19b50ae488494f1459bade88da3.tar.bz2 |
Support for building swiften as a DLL
Added missing SWIFTEN_API declarations.
Changed test infrastructure to extend path before running
tests.
Diffstat (limited to 'Swiften/Avatars')
-rw-r--r-- | Swiften/Avatars/AvatarManager.h | 3 | ||||
-rw-r--r-- | Swiften/Avatars/AvatarProvider.h | 3 | ||||
-rw-r--r-- | Swiften/Avatars/CombinedAvatarProvider.h | 3 | ||||
-rw-r--r-- | Swiften/Avatars/VCardAvatarManager.h | 3 | ||||
-rw-r--r-- | Swiften/Avatars/VCardUpdateAvatarManager.h | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/Swiften/Avatars/AvatarManager.h b/Swiften/Avatars/AvatarManager.h index 3461973..1e92328 100644 --- a/Swiften/Avatars/AvatarManager.h +++ b/Swiften/Avatars/AvatarManager.h @@ -8,13 +8,14 @@ #include <boost/filesystem/path.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Base/boost_bsignals.h> #include <Swiften/Base/ByteArray.h> namespace Swift { class JID; - class AvatarManager { + class SWIFTEN_API AvatarManager { public: virtual ~AvatarManager(); diff --git a/Swiften/Avatars/AvatarProvider.h b/Swiften/Avatars/AvatarProvider.h index d2d408e..5c9460d 100644 --- a/Swiften/Avatars/AvatarProvider.h +++ b/Swiften/Avatars/AvatarProvider.h @@ -8,12 +8,13 @@ #include <string> +#include <Swiften/Base/API.h> #include <Swiften/Base/boost_bsignals.h> namespace Swift { class JID; - class AvatarProvider { + class SWIFTEN_API AvatarProvider { public: virtual ~AvatarProvider(); diff --git a/Swiften/Avatars/CombinedAvatarProvider.h b/Swiften/Avatars/CombinedAvatarProvider.h index 7b29efc..96989b2 100644 --- a/Swiften/Avatars/CombinedAvatarProvider.h +++ b/Swiften/Avatars/CombinedAvatarProvider.h @@ -9,11 +9,12 @@ #include <vector> #include <map> +#include <Swiften/Base/API.h> #include <Swiften/Avatars/AvatarProvider.h> #include <Swiften/JID/JID.h> namespace Swift { - class CombinedAvatarProvider : public AvatarProvider { + class SWIFTEN_API CombinedAvatarProvider : public AvatarProvider { public: virtual std::string getAvatarHash(const JID&) const; diff --git a/Swiften/Avatars/VCardAvatarManager.h b/Swiften/Avatars/VCardAvatarManager.h index cb3945d..ed2ba5d 100644 --- a/Swiften/Avatars/VCardAvatarManager.h +++ b/Swiften/Avatars/VCardAvatarManager.h @@ -6,6 +6,7 @@ #pragma once +#include <Swiften/Base/API.h> #include <Swiften/Avatars/AvatarProvider.h> #include <Swiften/JID/JID.h> @@ -14,7 +15,7 @@ namespace Swift { class AvatarStorage; class VCardManager; - class VCardAvatarManager : public AvatarProvider { + class SWIFTEN_API VCardAvatarManager : public AvatarProvider { public: VCardAvatarManager(VCardManager*, AvatarStorage*, MUCRegistry* = NULL); diff --git a/Swiften/Avatars/VCardUpdateAvatarManager.h b/Swiften/Avatars/VCardUpdateAvatarManager.h index 28630ea..43e1d62 100644 --- a/Swiften/Avatars/VCardUpdateAvatarManager.h +++ b/Swiften/Avatars/VCardUpdateAvatarManager.h @@ -9,6 +9,7 @@ #include <boost/shared_ptr.hpp> #include <map> +#include <Swiften/Base/API.h> #include <Swiften/Avatars/AvatarProvider.h> #include <Swiften/JID/JID.h> #include <Swiften/Elements/Presence.h> @@ -21,7 +22,7 @@ namespace Swift { class StanzaChannel; class VCardManager; - class VCardUpdateAvatarManager : public AvatarProvider, public boost::bsignals::trackable { + class SWIFTEN_API VCardUpdateAvatarManager : public AvatarProvider, public boost::bsignals::trackable { public: VCardUpdateAvatarManager(VCardManager*, StanzaChannel*, AvatarStorage*, MUCRegistry* = NULL); |