diff options
Diffstat (limited to '')
-rw-r--r-- | src/protocolgats.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/protocolgats.h b/src/protocolgats.h new file mode 100644 index 0000000..cab5217 --- /dev/null +++ b/src/protocolgats.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef GATS_PROTOCOL_GATS_H | ||
2 | #define GATS_PROTOCOL_GATS_H | ||
3 | |||
4 | #include <bu/protocol.h> | ||
5 | |||
6 | namespace Gats | ||
7 | { | ||
8 | class ProtocolGats : public Bu::Protocol | ||
9 | { | ||
10 | public: | ||
11 | ProtocolGats(); | ||
12 | virtual ~ProtocolGats(); | ||
13 | |||
14 | virtual void onNewData( Bu::Client *pClient ); | ||
15 | |||
16 | virtual void onNewObject( Gats::Object *pObj )=0; | ||
17 | |||
18 | private: | ||
19 | }; | ||
20 | }; | ||
21 | |||
22 | #endif | ||