diff options
Diffstat (limited to 'Swiften/Network/BoostConnectionFactory.h')
-rw-r--r-- | Swiften/Network/BoostConnectionFactory.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Swiften/Network/BoostConnectionFactory.h b/Swiften/Network/BoostConnectionFactory.h index b6a27b2..d15770d 100644 --- a/Swiften/Network/BoostConnectionFactory.h +++ b/Swiften/Network/BoostConnectionFactory.h @@ -1,6 +1,8 @@ #ifndef SWIFTEN_BoostConnectionFactory_H #define SWIFTEN_BoostConnectionFactory_H +#include <boost/asio.hpp> + #include "Swiften/Network/ConnectionFactory.h" #include "Swiften/Network/BoostConnection.h" @@ -9,9 +11,12 @@ namespace Swift { class BoostConnectionFactory : public ConnectionFactory { public: - BoostConnectionFactory(); + BoostConnectionFactory(boost::asio::io_service*); + + virtual BoostConnection* createConnection(); - virtual BoostConnection* createConnection(const String& domain); + private: + boost::asio::io_service* ioService; }; } |