summaryrefslogtreecommitdiff
path: root/src/net/mailhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-08 16:29:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-08 16:29:20 +0300
commitab38f105a42355cbf207bf4da48c0c386892781c (patch)
tree713b45108c805241fe5714146dfe0aff2bfd2d13 /src/net/mailhandler.h
parentf8042d0cf07ebb4b10094ac242591d8edf7067ba (diff)
downloadmanaplus-ab38f105a42355cbf207bf4da48c0c386892781c.tar.gz
manaplus-ab38f105a42355cbf207bf4da48c0c386892781c.tar.bz2
manaplus-ab38f105a42355cbf207bf4da48c0c386892781c.tar.xz
manaplus-ab38f105a42355cbf207bf4da48c0c386892781c.zip
Fix code style.
Diffstat (limited to 'src/net/mailhandler.h')
-rw-r--r--src/net/mailhandler.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/net/mailhandler.h b/src/net/mailhandler.h
index e4e5a424d..3a83ab163 100644
--- a/src/net/mailhandler.h
+++ b/src/net/mailhandler.h
@@ -36,25 +36,25 @@ class MailHandler notfinal
virtual ~MailHandler()
{ }
- virtual void refresh() = 0;
+ virtual void refresh() const = 0;
- virtual void readMessage(const int msgId) = 0;
+ virtual void readMessage(const int msgId) const = 0;
- virtual void getAttach(const int msgId) = 0;
+ virtual void getAttach(const int msgId) const = 0;
- virtual void deleteMessage(const int msgId) = 0;
+ virtual void deleteMessage(const int msgId) const = 0;
- virtual void returnMessage(const int msgId) = 0;
+ virtual void returnMessage(const int msgId) const = 0;
- virtual void setAttach(const int index, const int amount) = 0;
+ virtual void setAttach(const int index, const int amount) const = 0;
- virtual void setAttachMoney(const int money) = 0;
+ virtual void setAttachMoney(const int money) const = 0;
- virtual void resetAttach(const int flag) = 0;
+ virtual void resetAttach(const int flag) const = 0;
virtual void send(const std::string &name,
const std::string &title,
- std::string message) = 0;
+ std::string message) const = 0;
};
} // namespace Net