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