summaryrefslogtreecommitdiff
path: root/src/old/protocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/old/protocol.cpp')
-rw-r--r--src/old/protocol.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/old/protocol.cpp b/src/old/protocol.cpp
new file mode 100644
index 0000000..78b3ee2
--- /dev/null
+++ b/src/old/protocol.cpp
@@ -0,0 +1,20 @@
1#include "protocol.h"
2
3Protocol::Protocol()
4{
5 pConnection = NULL;
6}
7
8Protocol::~Protocol()
9{
10}
11
12void Protocol::setConnection( Connection *pNewConnection )
13{
14 pConnection = pNewConnection;
15}
16
17Connection *Protocol::getConnection()
18{
19 return pConnection;
20}