summaryrefslogtreecommitdiff
path: root/src/net/adminhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-31 21:52:04 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-31 21:52:04 -0600
commit78e67de6f70aab502a85578264b60493a818b39f (patch)
tree33e99673a23bd5d08ba116c3f8756cffc5f6779f /src/net/adminhandler.h
parent37432edac65a6b85c7a3414a421f2afd3e67a14e (diff)
downloadmana-78e67de6f70aab502a85578264b60493a818b39f.tar.gz
mana-78e67de6f70aab502a85578264b60493a818b39f.tar.bz2
mana-78e67de6f70aab502a85578264b60493a818b39f.tar.xz
mana-78e67de6f70aab502a85578264b60493a818b39f.zip
Make network handler functions virtual
Diffstat (limited to 'src/net/adminhandler.h')
-rw-r--r--src/net/adminhandler.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/net/adminhandler.h b/src/net/adminhandler.h
index df013eb3..c3a029b1 100644
--- a/src/net/adminhandler.h
+++ b/src/net/adminhandler.h
@@ -25,29 +25,29 @@
#include <iosfwd>
namespace Net {
- class AdminHandler
- {
- public:
- void announce(const std::string &text) {}
+class AdminHandler
+{
+ public:
+ virtual void announce(const std::string &text) {}
- void localAnnounce(const std::string &text) {}
+ virtual void localAnnounce(const std::string &text) {}
- void hide(bool hide) {}
+ virtual void hide(bool hide) {}
- void kick(int playerId) {}
+ virtual void kick(int playerId) {}
- void kick(const std::string &name) {}
+ virtual void kick(const std::string &name) {}
- void ban(int playerId) {}
+ virtual void ban(int playerId) {}
- void ban(const std::string &name) {}
+ virtual void ban(const std::string &name) {}
- void unban(int playerId) {}
+ virtual void unban(int playerId) {}
- void unban(const std::string &name) {}
+ virtual void unban(const std::string &name) {}
- // TODO
- };
+ // TODO
+};
}
#endif // ADMINHANDLER_H