summaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h
index c557512..61fff93 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -10,6 +10,8 @@
10 10
11#include <stdint.h> 11#include <stdint.h>
12 12
13#include "bu/fstring.h"
14
13namespace Bu 15namespace Bu
14{ 16{
15 class Client; 17 class Client;
@@ -26,6 +28,7 @@ namespace Bu
26 28
27 virtual void onNewConnection( Bu::Client *pClient )=0; 29 virtual void onNewConnection( Bu::Client *pClient )=0;
28 virtual void onNewData( Bu::Client *pClient )=0; 30 virtual void onNewData( Bu::Client *pClient )=0;
31 virtual void onMessage( Bu::Client *pClient, const Bu::FString &sMsg );
29 32
30 private: 33 private:
31 34