diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:48:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:48:19 +0300 |
commit | b50eee3c4571c4a4657bc14c2935067d833bb801 (patch) | |
tree | 047ab4a069d61ddbfdf3ee65db22f020ffcf4c11 /src/net/tmwa/mailhandler.h | |
parent | b226f23946987a649fb50bc6d9df2dd8afa7ade1 (diff) | |
download | manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.gz manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.bz2 manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.xz manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.zip |
Add const attribute to net classes.
Diffstat (limited to 'src/net/tmwa/mailhandler.h')
-rw-r--r-- | src/net/tmwa/mailhandler.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/net/tmwa/mailhandler.h b/src/net/tmwa/mailhandler.h index 7278f85c5..f184baedd 100644 --- a/src/net/tmwa/mailhandler.h +++ b/src/net/tmwa/mailhandler.h @@ -35,25 +35,26 @@ class MailHandler final : public Net::MailHandler A_DELETE_COPY(MailHandler) - void refresh() const override final; + void refresh() const override final A_CONST; - void readMessage(const int msgId) const override final; + void readMessage(const int msgId) const override final A_CONST; - void getAttach(const int msgId) const override final; + void getAttach(const int msgId) const override final A_CONST; - void deleteMessage(const int msgId) const override final; + void deleteMessage(const int msgId) const override final A_CONST; - void returnMessage(const int msgId) const override final; + void returnMessage(const int msgId) const override final A_CONST; - void setAttach(const int index, const int amount) const override final; + void setAttach(const int index, + const int amount) const override final A_CONST; - void setAttachMoney(const int money) const override final; + void setAttachMoney(const int money) const override final A_CONST; - void resetAttach(const int flag) const override final; + void resetAttach(const int flag) const override final A_CONST; void send(const std::string &name, const std::string &title, - std::string message) const override final; + std::string message) const override final A_CONST; }; } // namespace TmwAthena |