summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-08-15 14:22:38 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-08-15 14:26:58 (GMT)
commit1c1056b42d092f943735a1fe033f295ac5b27a77 (patch)
tree18895760ed5090f1eda2d5d58c5cfab6421db481 /Swiften/Component/CoreComponent.h
parent1e5b6e73e6b5d2a4973174cda334fbc9ce47db91 (diff)
downloadswift-1c1056b42d092f943735a1fe033f295ac5b27a77.zip
swift-1c1056b42d092f943735a1fe033f295ac5b27a77.tar.bz2
Make (Core)Component constructor consistent with (Core)Client.
Change-Id: I268e15b6fbf54d9b188a699d26d2bb1042174f5f
Diffstat (limited to 'Swiften/Component/CoreComponent.h')
-rw-r--r--Swiften/Component/CoreComponent.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Swiften/Component/CoreComponent.h b/Swiften/Component/CoreComponent.h
index 6f5231f..63b68f6 100644
--- a/Swiften/Component/CoreComponent.h
+++ b/Swiften/Component/CoreComponent.h
@@ -43,7 +43,7 @@ namespace Swift {
*/
class SWIFTEN_API CoreComponent : public Entity {
public:
- CoreComponent(EventLoop* eventLoop, NetworkFactories* networkFactories, const JID& jid, const std::string& secret);
+ CoreComponent(const JID& jid, const std::string& secret, NetworkFactories* networkFactories);
~CoreComponent();
void connect(const std::string& host, int port);
@@ -88,7 +88,6 @@ namespace Swift {
void handleDataWritten(const SafeByteArray&);
private:
- EventLoop* eventLoop;
NetworkFactories* networkFactories;
JID jid_;
std::string secret_;