summaryrefslogtreecommitdiff
path: root/src/net/charhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-07-18 12:11:39 -0600
committerJared Adams <jaxad0127@gmail.com>2010-07-18 12:25:37 -0600
commit060b5d24f824de45342c8ea1bab8fc98c08b369d (patch)
tree57b304d388277310990775ee5c9bb0f67b7bb7e6 /src/net/charhandler.h
parent81d8168bb5796ccb1704bcce9f5327c35e55d281 (diff)
downloadmana-060b5d24f824de45342c8ea1bab8fc98c08b369d.tar.gz
mana-060b5d24f824de45342c8ea1bab8fc98c08b369d.tar.bz2
mana-060b5d24f824de45342c8ea1bab8fc98c08b369d.tar.xz
mana-060b5d24f824de45342c8ea1bab8fc98c08b369d.zip
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
Diffstat (limited to 'src/net/charhandler.h')
-rw-r--r--src/net/charhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/charhandler.h b/src/net/charhandler.h
index ba06f551..c2be5714 100644
--- a/src/net/charhandler.h
+++ b/src/net/charhandler.h
@@ -60,6 +60,8 @@ typedef std::list<Character*> Characters;
class CharHandler
{
public:
+ virtual ~CharHandler() {}
+
virtual void setCharSelectDialog(CharSelectDialog *window) = 0;
virtual void setCharCreateDialog(CharCreateDialog *window) = 0;
@@ -82,8 +84,6 @@ class CharHandler
virtual unsigned int maxSprite() const = 0;
- virtual ~CharHandler() {}
-
protected:
CharHandler():
mSelectedCharacter(0),