summaryrefslogtreecommitdiffstats
blob: bd6c6e6d80cbad15c2f71c4af8acf1a192a43c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SWIFTEN_HIGHLAYER_H
#define SWIFTEN_HIGHLAYER_H

#include <boost/signal.hpp>

#include "Swiften/Base/ByteArray.h"

namespace Swift {
	class HighLayer {
		public:
			virtual ~HighLayer();

			virtual void handleDataRead(const ByteArray& data) = 0;

			boost::signal<void (const ByteArray&)> onWriteData;
	};
}

#endif