diff options
Diffstat (limited to 'Swiften/Network/ConnectionFactory.h')
-rw-r--r-- | Swiften/Network/ConnectionFactory.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Swiften/Network/ConnectionFactory.h b/Swiften/Network/ConnectionFactory.h index ef4eec9..e78f6ab 100644 --- a/Swiften/Network/ConnectionFactory.h +++ b/Swiften/Network/ConnectionFactory.h @@ -1,5 +1,6 @@ -#ifndef SWIFTEN_ConnectionFactory_H -#define SWIFTEN_ConnectionFactory_H +#pragma once + +#include <boost/shared_ptr.hpp> namespace Swift { class Connection; @@ -8,8 +9,6 @@ namespace Swift { public: virtual ~ConnectionFactory(); - virtual Connection* createConnection() = 0; + virtual boost::shared_ptr<Connection> createConnection() = 0; }; } - -#endif |