diff options
Diffstat (limited to 'src/connectionhandler.cpp')
-rw-r--r-- | src/connectionhandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/connectionhandler.cpp b/src/connectionhandler.cpp index 354ea608..fba5d7dc 100644 --- a/src/connectionhandler.cpp +++ b/src/connectionhandler.cpp @@ -23,3 +23,8 @@ #include "connectionhandler.h" + +ConnectionHandler::registerHandler(unsigned int msgId, MessageHandler *handler) +{ + handlers[msgId] = handler; +} |