blob: eaa2ad6a8b073e0760bd4ca3a1eb890c1769282c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <boost/signal.hpp>
#include "Swiften/Base/ByteArray.h"
namespace Swift {
class IncomingConnection {
public:
virtual ~IncomingConnection();
virtual void write(const ByteArray& data) = 0;
//boost::signal<void (Error)> onError;
boost::signal<void (const ByteArray&)> onDataRead;
};
}
|