summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Component')
-rw-r--r--Swiften/Component/ComponentError.h6
-rw-r--r--Swiften/Component/ComponentSessionStanzaChannel.h5
2 files changed, 7 insertions, 4 deletions
diff --git a/Swiften/Component/ComponentError.h b/Swiften/Component/ComponentError.h
index ab1df20..7609b9a 100644
--- a/Swiften/Component/ComponentError.h
+++ b/Swiften/Component/ComponentError.h
@@ -1,13 +1,15 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
+
namespace Swift {
- class ComponentError {
+ class SWIFTEN_API ComponentError {
public:
enum Type {
UnknownError,
diff --git a/Swiften/Component/ComponentSessionStanzaChannel.h b/Swiften/Component/ComponentSessionStanzaChannel.h
index 89005b3..f0f4abd 100644
--- a/Swiften/Component/ComponentSessionStanzaChannel.h
+++ b/Swiften/Component/ComponentSessionStanzaChannel.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.
*/
@@ -8,6 +8,7 @@
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/IDGenerator.h>
#include <Swiften/Component/ComponentSession.h>
#include <Swiften/Client/StanzaChannel.h>
@@ -19,7 +20,7 @@ namespace Swift {
/**
* StanzaChannel implementation around a ComponentSession.
*/
- class ComponentSessionStanzaChannel : public StanzaChannel {
+ class SWIFTEN_API ComponentSessionStanzaChannel : public StanzaChannel {
public:
void setSession(boost::shared_ptr<ComponentSession> session);