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