summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Component/Component.h')
-rw-r--r--Swiften/Component/Component.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Swiften/Component/Component.h b/Swiften/Component/Component.h
index 0b29ff7..3ead1a5 100644
--- a/Swiften/Component/Component.h
+++ b/Swiften/Component/Component.h
@@ -1,4 +1,4 @@
/*
- * Copyright (c) 2010 Remko Tronçon
+ * Copyright (c) 2010-2013 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
@@ -7,4 +7,5 @@
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Component/CoreComponent.h>
@@ -18,7 +19,7 @@ namespace Swift {
* performing most component tasks on the XMPP network.
*/
- class Component : public CoreComponent {
+ class SWIFTEN_API Component : public CoreComponent {
public:
- Component(EventLoop* eventLoop, NetworkFactories* networkFactories, const JID& jid, const std::string& secret);
+ Component(const JID& jid, const std::string& secret, NetworkFactories* networkFactories);
~Component();