diff options
Diffstat (limited to '')
-rw-r--r-- | src/protocol.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 78b3ee2..0976b3b 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp | |||
@@ -1,20 +1,12 @@ | |||
1 | #include "protocol.h" | 1 | #include "bu/protocol.h" |
2 | 2 | ||
3 | Protocol::Protocol() | 3 | using namespace Bu; |
4 | { | ||
5 | pConnection = NULL; | ||
6 | } | ||
7 | 4 | ||
8 | Protocol::~Protocol() | 5 | Bu::Protocol::Protocol() |
9 | { | 6 | { |
10 | } | 7 | } |
11 | 8 | ||
12 | void Protocol::setConnection( Connection *pNewConnection ) | 9 | Bu::Protocol::~Protocol() |
13 | { | 10 | { |
14 | pConnection = pNewConnection; | ||
15 | } | 11 | } |
16 | 12 | ||
17 | Connection *Protocol::getConnection() | ||
18 | { | ||
19 | return pConnection; | ||
20 | } | ||