diff options
Diffstat (limited to 'Sluift/SluiftClient.h')
-rw-r--r-- | Sluift/SluiftClient.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Sluift/SluiftClient.h b/Sluift/SluiftClient.h index 60eae16..f0192e4 100644 --- a/Sluift/SluiftClient.h +++ b/Sluift/SluiftClient.h @@ -12,7 +12,6 @@ #include <boost/function.hpp> #include <Swiften/Client/ClientOptions.h> -#include <Sluift/globals.h> #include <Swiften/Elements/IQ.h> #include <Swiften/Elements/Message.h> #include <Swiften/Elements/Presence.h> @@ -62,8 +61,7 @@ namespace Swift { const JID& jid, const std::string& password, NetworkFactories* networkFactories, - SimpleEventLoop* eventLoop, - SluiftGlobals* globals); + SimpleEventLoop* eventLoop); ~SluiftClient(); Client* getClient() { @@ -76,8 +74,9 @@ namespace Swift { void connect(); void connect(const std::string& host, int port); - void waitConnected(); + void waitConnected(int timeout); bool isConnected() const; + void setTraceEnabled(bool b); template<typename T> Sluift::Response sendPubSubRequest( @@ -119,7 +118,6 @@ namespace Swift { private: NetworkFactories* networkFactories; SimpleEventLoop* eventLoop; - SluiftGlobals* globals; Client* client; ClientOptions options; ClientXMLTracer* tracer; |