From b8ad6772fbc9d3f0917e0b39ec66d0004a267904 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 15 Sep 2014 23:41:37 +0300 Subject: Add base class for questhandler in net namespace. --- src/net/eathena/questhandler.cpp | 3 ++- src/net/eathena/questhandler.h | 4 +++- src/net/tmwa/questhandler.cpp | 3 ++- src/net/tmwa/questhandler.h | 4 +++- 4 files changed, 10 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/net/eathena/questhandler.cpp b/src/net/eathena/questhandler.cpp index ce892db88..18dbff5ee 100644 --- a/src/net/eathena/questhandler.cpp +++ b/src/net/eathena/questhandler.cpp @@ -33,7 +33,8 @@ namespace EAthena { QuestHandler::QuestHandler() : - MessageHandler() + MessageHandler(), + Net::QuestHandler() { static const uint16_t _messages[] = { diff --git a/src/net/eathena/questhandler.h b/src/net/eathena/questhandler.h index 47b774ad7..17671970d 100644 --- a/src/net/eathena/questhandler.h +++ b/src/net/eathena/questhandler.h @@ -23,10 +23,12 @@ #include "net/eathena/messagehandler.h" +#include "net/questhandler.h" + namespace EAthena { -class QuestHandler final : public MessageHandler +class QuestHandler final : public MessageHandler, public Net::QuestHandler { public: QuestHandler(); diff --git a/src/net/tmwa/questhandler.cpp b/src/net/tmwa/questhandler.cpp index 8c0f7df03..3b8baac5e 100644 --- a/src/net/tmwa/questhandler.cpp +++ b/src/net/tmwa/questhandler.cpp @@ -33,7 +33,8 @@ namespace TmwAthena { QuestHandler::QuestHandler() : - MessageHandler() + MessageHandler(), + Net::QuestHandler() { static const uint16_t _messages[] = { diff --git a/src/net/tmwa/questhandler.h b/src/net/tmwa/questhandler.h index 1de4ed24f..51128a34d 100644 --- a/src/net/tmwa/questhandler.h +++ b/src/net/tmwa/questhandler.h @@ -23,10 +23,12 @@ #include "net/tmwa/messagehandler.h" +#include "net/questhandler.h" + namespace TmwAthena { -class QuestHandler final : public MessageHandler +class QuestHandler final : public MessageHandler, public Net::QuestHandler { public: QuestHandler(); -- cgit v1.2.3-70-g09d2