diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-08 16:29:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-08 16:29:20 +0300 |
commit | ab38f105a42355cbf207bf4da48c0c386892781c (patch) | |
tree | 713b45108c805241fe5714146dfe0aff2bfd2d13 /src/net/tmwa | |
parent | f8042d0cf07ebb4b10094ac242591d8edf7067ba (diff) | |
download | manaplus-ab38f105a42355cbf207bf4da48c0c386892781c.tar.gz manaplus-ab38f105a42355cbf207bf4da48c0c386892781c.tar.bz2 manaplus-ab38f105a42355cbf207bf4da48c0c386892781c.tar.xz manaplus-ab38f105a42355cbf207bf4da48c0c386892781c.zip |
Fix code style.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/mailhandler.cpp | 18 | ||||
-rw-r--r-- | src/net/tmwa/mailhandler.h | 18 |
2 files changed, 18 insertions, 18 deletions
diff --git a/src/net/tmwa/mailhandler.cpp b/src/net/tmwa/mailhandler.cpp index 53a1faba5..911436972 100644 --- a/src/net/tmwa/mailhandler.cpp +++ b/src/net/tmwa/mailhandler.cpp @@ -42,42 +42,42 @@ void MailHandler::handleMessage(Net::MessageIn &msg A_UNUSED) { } -void MailHandler::refresh() +void MailHandler::refresh() const { } -void MailHandler::readMessage(const int msgId A_UNUSED) +void MailHandler::readMessage(const int msgId A_UNUSED) const { } -void MailHandler::getAttach(const int msgId A_UNUSED) +void MailHandler::getAttach(const int msgId A_UNUSED) const { } -void MailHandler::deleteMessage(const int msgId A_UNUSED) +void MailHandler::deleteMessage(const int msgId A_UNUSED) const { } -void MailHandler::returnMessage(const int msgId A_UNUSED) +void MailHandler::returnMessage(const int msgId A_UNUSED) const { } void MailHandler::setAttach(const int index A_UNUSED, - const int amount A_UNUSED) + const int amount A_UNUSED) const { } -void MailHandler::setAttachMoney(const int money A_UNUSED) +void MailHandler::setAttachMoney(const int money A_UNUSED) const { } -void MailHandler::resetAttach(const int flag A_UNUSED) +void MailHandler::resetAttach(const int flag A_UNUSED) const { } void MailHandler::send(const std::string &name A_UNUSED, const std::string &title A_UNUSED, - std::string message A_UNUSED) + std::string message A_UNUSED) const { } diff --git a/src/net/tmwa/mailhandler.h b/src/net/tmwa/mailhandler.h index f54901f50..b6427c763 100644 --- a/src/net/tmwa/mailhandler.h +++ b/src/net/tmwa/mailhandler.h @@ -39,25 +39,25 @@ class MailHandler final : public MessageHandler, public Net::MailHandler void handleMessage(Net::MessageIn &msg) override final; - void refresh() override final; + void refresh() const override final; - void readMessage(const int msgId) override final; + void readMessage(const int msgId) const override final; - void getAttach(const int msgId) override final; + void getAttach(const int msgId) const override final; - void deleteMessage(const int msgId) override final; + void deleteMessage(const int msgId) const override final; - void returnMessage(const int msgId) override final; + void returnMessage(const int msgId) const override final; - void setAttach(const int index, const int amount) override final; + void setAttach(const int index, const int amount) const override final; - void setAttachMoney(const int money) override final; + void setAttachMoney(const int money) const override final; - void resetAttach(const int flag) override final; + void resetAttach(const int flag) const override final; void send(const std::string &name, const std::string &title, - std::string message) override final; + std::string message) const override final; }; } // namespace TmwAthena |