diff options
Diffstat (limited to 'Swiften/Network')
-rw-r--r-- | Swiften/Network/Connection.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Swiften/Network/Connection.h b/Swiften/Network/Connection.h index 8c30ad7..712f145 100644 --- a/Swiften/Network/Connection.h +++ b/Swiften/Network/Connection.h @@ -6,8 +6,9 @@ #pragma once -#include "Swiften/Base/boost_bsignals.h" +#include <boost/shared_ptr.hpp> +#include "Swiften/Base/boost_bsignals.h" #include "Swiften/Base/ByteArray.h" #include "Swiften/Base/String.h" #include "Swiften/Network/HostAddressPort.h" @@ -15,6 +16,8 @@ namespace Swift { class Connection { public: + typedef boost::shared_ptr<Connection> ref; + enum Error { ReadError, WriteError |