summaryrefslogtreecommitdiff
path: root/src/net/tmwa/chathandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:19 +0300
commitb50eee3c4571c4a4657bc14c2935067d833bb801 (patch)
tree047ab4a069d61ddbfdf3ee65db22f020ffcf4c11 /src/net/tmwa/chathandler.h
parentb226f23946987a649fb50bc6d9df2dd8afa7ade1 (diff)
downloadplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.gz
plus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.bz2
plus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.xz
plus-b50eee3c4571c4a4657bc14c2935067d833bb801.zip
Add const attribute to net classes.
Diffstat (limited to 'src/net/tmwa/chathandler.h')
-rw-r--r--src/net/tmwa/chathandler.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h
index ba591225b..770165cfd 100644
--- a/src/net/tmwa/chathandler.h
+++ b/src/net/tmwa/chathandler.h
@@ -47,7 +47,7 @@ class ChatHandler final : public Ea::ChatHandler
void channelMessage(const std::string &restrict channel,
const std::string &restrict text) override final;
- void joinChannel(const std::string &channel) override final;
+ void joinChannel(const std::string &channel) override final A_CONST;
void who() const override final;
@@ -60,34 +60,38 @@ class ChatHandler final : public Ea::ChatHandler
void createChatRoom(const std::string &title,
const std::string &password,
const int limit,
- const bool isPublic) override final;
+ const bool isPublic) override final A_CONST;
void ignore(const std::string &nick) const override final;
void unIgnore(const std::string &nick) const override final;
- void requestIgnoreList() const override final;
+ void requestIgnoreList() const override final A_CONST;
- void battleTalk(const std::string &text) const override final;
+ void battleTalk(const std::string &text) const override final A_CONST;
void joinChat(const ChatObject *const chat,
- const std::string &password) const override final;
+ const std::string &password) const override final
+ A_CONST;
- void partChannel(const std::string &channel) override final;
+ void partChannel(const std::string &channel) override final A_CONST;
void talkPet(const std::string &restrict text,
const std::string &restrict channel) const override final;
- void leaveChatRoom() const override final;
+ void leaveChatRoom() const override final A_CONST;
void setChatRoomOptions(const int limit,
const bool isPublic,
const std::string &password,
- const std::string &title) const override final;
+ const std::string &title) const override final
+ A_CONST;
- void setChatRoomOwner(const std::string &nick) const override final;
+ void setChatRoomOwner(const std::string &nick) const override final
+ A_CONST;
- void kickFromChatRoom(const std::string &nick) const override final;
+ void kickFromChatRoom(const std::string &nick) const override final
+ A_CONST;
protected:
static void processRaw(MessageOut &restrict outMsg,