aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/protocol.cpp16
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
3Protocol::Protocol() 3using namespace Bu;
4{
5 pConnection = NULL;
6}
7 4
8Protocol::~Protocol() 5Bu::Protocol::Protocol()
9{ 6{
10} 7}
11 8
12void Protocol::setConnection( Connection *pNewConnection ) 9Bu::Protocol::~Protocol()
13{ 10{
14 pConnection = pNewConnection;
15} 11}
16 12
17Connection *Protocol::getConnection()
18{
19 return pConnection;
20}