diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-02 20:58:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-02 20:58:41 +0300 |
commit | 84d2bab38202cd52b5eb0a37c12204ab6f607915 (patch) | |
tree | 2f3951b2f4f3b75f190eb2539979cc4afbace27c /src/net/tmwa/network.cpp | |
parent | 40730c4fa73d403cf7284a76d9b26f7ec662afa4 (diff) | |
download | plus-84d2bab38202cd52b5eb0a37c12204ab6f607915.tar.gz plus-84d2bab38202cd52b5eb0a37c12204ab6f607915.tar.bz2 plus-84d2bab38202cd52b5eb0a37c12204ab6f607915.tar.xz plus-84d2bab38202cd52b5eb0a37c12204ab6f607915.zip |
Remove MessageHandler class
Diffstat (limited to 'src/net/tmwa/network.cpp')
-rw-r--r-- | src/net/tmwa/network.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp index 0e99f9dbd..069ff373a 100644 --- a/src/net/tmwa/network.cpp +++ b/src/net/tmwa/network.cpp @@ -58,7 +58,6 @@ #include "net/tmwa/skillrecv.h" #include "net/tmwa/traderecv.h" -#include "net/tmwa/messagehandler.h" #include "net/tmwa/messagein.h" #include "net/tmwa/protocol.h" @@ -91,22 +90,6 @@ void Network::registerHandlers() #include "net/tmwa/recvpackets.inc" } -void Network::registerHandler(MessageHandler *const handler) -{ - if (!handler) - return; - - handler->setNetwork(this); -} - -void Network::unregisterHandler(MessageHandler *const handler) -{ - if (!handler) - return; - - handler->setNetwork(nullptr); -} - void Network::clearHandlers() { } |