diff options
Diffstat (limited to 'src/netcomputer.cpp')
-rw-r--r-- | src/netcomputer.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/netcomputer.cpp b/src/netcomputer.cpp index 89317dc0..79110fd4 100644 --- a/src/netcomputer.cpp +++ b/src/netcomputer.cpp @@ -23,3 +23,14 @@ #include "netcomputer.h" + +NetComputer::NetComputer(ConnectionHandler *handler): + handler(handler) +{ +} + +void NetComputer::disconnect(const std::string &reason) +{ + // Somehow notify the netsession listener about the disconnect after + // sending this computer a disconnect message containing the reason. +} |