From 96abc4a9658b3318d0052dc5cd31a3c15d76a494 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 8 Apr 2012 17:37:02 +0200 Subject: Removed the shared base classes of MessageIn and MessageOut There wasn't a whole lot gained by sharing a common base class, and it makes extending the manaserv Message{In,Out} classes with a debugging mode unnecessarily complicated. Reviewed-by: Yohann Ferreira --- src/net/messagehandler.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/net/messagehandler.h') diff --git a/src/net/messagehandler.h b/src/net/messagehandler.h index 5a0cc091..3bf6c419 100644 --- a/src/net/messagehandler.h +++ b/src/net/messagehandler.h @@ -22,9 +22,7 @@ #ifndef NET_MESSAGEHANDLER_H #define NET_MESSAGEHANDLER_H -#include "net/messagein.h" - -#include +#include namespace Net { @@ -36,11 +34,9 @@ class MessageHandler public: const uint16_t *handledMessages; - virtual void handleMessage(MessageIn &msg) = 0; - virtual ~MessageHandler() {} }; -} +} // namespace Net #endif // NET_MESSAGEHANDLER_H -- cgit v1.2.3-70-g09d2