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/Jingle | |
parent | 7693734b10699b5fc4bfc3d7dc33128d558e202d (diff) | |
download | swift-contrib-3d6aa3b50090c19b50ae488494f1459bade88da3.zip swift-contrib-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/Jingle')
-rw-r--r-- | Swiften/Jingle/FakeJingleSession.h | 3 | ||||
-rw-r--r-- | Swiften/Jingle/JingleSessionManager.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/Jingle/FakeJingleSession.h b/Swiften/Jingle/FakeJingleSession.h index fd3d7b7..ec5cb09 100644 --- a/Swiften/Jingle/FakeJingleSession.h +++ b/Swiften/Jingle/FakeJingleSession.h @@ -11,6 +11,7 @@ #include <vector> #include <boost/variant.hpp> +#include <Swiften/Base/API.h> #include <Swiften/Base/boost_bsignals.h> #include <Swiften/JID/JID.h> #include <Swiften/Elements/JinglePayload.h> @@ -20,7 +21,7 @@ namespace Swift { class JingleContentID; - class FakeJingleSession : public JingleSession { + class SWIFTEN_API FakeJingleSession : public JingleSession { public: struct InitiateCall { InitiateCall(JingleContentID contentId, JingleDescription::ref desc, JingleTransportPayload::ref payL) : id(contentId), description(desc), payload(payL) {} diff --git a/Swiften/Jingle/JingleSessionManager.h b/Swiften/Jingle/JingleSessionManager.h index b4f2846..3412709 100644 --- a/Swiften/Jingle/JingleSessionManager.h +++ b/Swiften/Jingle/JingleSessionManager.h @@ -9,6 +9,7 @@ #include <boost/shared_ptr.hpp> #include <map> +#include <Swiften/Base/API.h> #include <Swiften/Base/boost_bsignals.h> #include <Swiften/Jingle/JingleSessionImpl.h> @@ -17,7 +18,7 @@ namespace Swift { class JingleResponder; class IncomingJingleSessionHandler; - class JingleSessionManager { + class SWIFTEN_API JingleSessionManager { friend class JingleResponder; public: JingleSessionManager(IQRouter* router); |