From 060b5d24f824de45342c8ea1bab8fc98c08b369d Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 18 Jul 2010 12:11:39 -0600 Subject: Replace some state-related netcode methods with events Also move the virtual destructors of the Net handler base classes to the top of their method lists. Reviewed-by: Chuck Miller --- src/net/adminhandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/adminhandler.h') diff --git a/src/net/adminhandler.h b/src/net/adminhandler.h index 23e9abc0..3ed96dbd 100644 --- a/src/net/adminhandler.h +++ b/src/net/adminhandler.h @@ -29,6 +29,8 @@ namespace Net { class AdminHandler { public: + virtual ~AdminHandler() {} + virtual void announce(const std::string &text) = 0; virtual void localAnnounce(const std::string &text) = 0; @@ -49,8 +51,6 @@ class AdminHandler virtual void mute(int playerId, int type, int limit) = 0; - virtual ~AdminHandler() {} - // TODO }; -- cgit v1.2.3-70-g09d2