diff options
Diffstat (limited to 'Swiften/Server/IncomingConnection.h')
-rw-r--r-- | Swiften/Server/IncomingConnection.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Swiften/Server/IncomingConnection.h b/Swiften/Server/IncomingConnection.h deleted file mode 100644 index 6ef64e8..0000000 --- a/Swiften/Server/IncomingConnection.h +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once - -#include <boost/signals.hpp> - -#include "Swiften/Base/ByteArray.h" -#include "Swiften/Base/String.h" - -namespace Swift { - class IncomingConnection { - public: - enum Error { - ConnectionError, - ReadError - }; - - virtual ~IncomingConnection(); - - virtual void write(const ByteArray& data) = 0; - - public: - boost::signal<void (Error)> onError; - boost::signal<void (const ByteArray&)> onDataRead; - }; -} |