summaryrefslogtreecommitdiff
path: root/src/net/tmwa/messagehandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/messagehandler.h')
-rw-r--r--src/net/tmwa/messagehandler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/messagehandler.h b/src/net/tmwa/messagehandler.h
index 82bbabbc..2b1f5b7e 100644
--- a/src/net/tmwa/messagehandler.h
+++ b/src/net/tmwa/messagehandler.h
@@ -23,14 +23,12 @@
#define NET_TA_MESSAGEHANDLER_H
#include "net/messagehandler.h"
-#include "net/messagein.h"
-
-#include "net/tmwa/messageout.h"
#include <memory>
namespace TmwAthena {
+class MessageIn;
class Network;
/**
@@ -43,6 +41,8 @@ class MessageHandler : public Net::MessageHandler
~MessageHandler();
+ virtual void handleMessage(MessageIn &msg) = 0;
+
void setNetwork(Network *network);
protected: