summaryrefslogtreecommitdiff
path: root/src/net/adminhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-26 01:58:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-26 01:58:10 +0300
commit170b469cbcf4adcd82604a6b2efd5a0630ef3fb5 (patch)
treed37c726898a3a283d5f750b536dbe32bb326463f /src/net/adminhandler.h
parent43be2ecae97034f764460a5932ca97e6354da89e (diff)
downloadmanaverse-170b469cbcf4adcd82604a6b2efd5a0630ef3fb5.tar.gz
manaverse-170b469cbcf4adcd82604a6b2efd5a0630ef3fb5.tar.bz2
manaverse-170b469cbcf4adcd82604a6b2efd5a0630ef3fb5.tar.xz
manaverse-170b469cbcf4adcd82604a6b2efd5a0630ef3fb5.zip
add missing const to adminhandler.
Diffstat (limited to 'src/net/adminhandler.h')
-rw-r--r--src/net/adminhandler.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/net/adminhandler.h b/src/net/adminhandler.h
index 6b6aac078..a7820a832 100644
--- a/src/net/adminhandler.h
+++ b/src/net/adminhandler.h
@@ -35,29 +35,29 @@ class AdminHandler
virtual ~AdminHandler()
{ }
- virtual void announce(const std::string &text) = 0;
+ virtual void announce(const std::string &text) const = 0;
- virtual void localAnnounce(const std::string &text) = 0;
+ virtual void localAnnounce(const std::string &text) const = 0;
- virtual void hide(const bool hide) = 0;
+ virtual void hide(const bool hide) const = 0;
- virtual void kick(const int playerId) = 0;
+ virtual void kick(const int playerId) const = 0;
- virtual void kickName(const std::string &name) = 0;
+ virtual void kickName(const std::string &name) const = 0;
- virtual void ban(const int playerId) = 0;
+ virtual void ban(const int playerId) const = 0;
- virtual void banName(const std::string &name) = 0;
+ virtual void banName(const std::string &name) const = 0;
- virtual void unban(const int playerId) = 0;
+ virtual void unban(const int playerId) const = 0;
- virtual void unbanName(const std::string &name) = 0;
+ virtual void unbanName(const std::string &name) const = 0;
virtual void mute(const int playerId, const int type,
- const int limit) = 0;
+ const int limit) const = 0;
virtual void warp(const std::string &map,
- const int x, const int y) = 0;
+ const int x, const int y) const = 0;
};
} // namespace Net