summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-23 20:34:31 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-23 20:55:58 +0300
commit79864826790a33a3583819fe02893eed010381d9 (patch)
tree33b90cf3613900c9de45715e5fea69a721d26f10 /src/net/tmwa
parent4da8a6304b5b7bb4d2b655ed3471c0ff4a7d610a (diff)
downloadplus-79864826790a33a3583819fe02893eed010381d9.tar.gz
plus-79864826790a33a3583819fe02893eed010381d9.tar.bz2
plus-79864826790a33a3583819fe02893eed010381d9.tar.xz
plus-79864826790a33a3583819fe02893eed010381d9.zip
Add mailqueuetype enum for mail queue types.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/mail2handler.cpp10
-rw-r--r--src/net/tmwa/mail2handler.h9
2 files changed, 10 insertions, 9 deletions
diff --git a/src/net/tmwa/mail2handler.cpp b/src/net/tmwa/mail2handler.cpp
index b964af8cd..d79e9585e 100644
--- a/src/net/tmwa/mail2handler.cpp
+++ b/src/net/tmwa/mail2handler.cpp
@@ -56,12 +56,12 @@ void Mail2Handler::sendMail(const std::string &to A_UNUSED,
{
}
-bool Mail2Handler::queueSendMail(const std::string &to A_UNUSED,
- const std::string &title A_UNUSED,
- const std::string &body A_UNUSED,
- const int64_t &money A_UNUSED) const
+void Mail2Handler::queueCheckName(const MailQueueTypeT type A_UNUSED,
+ const std::string &to A_UNUSED,
+ const std::string &title A_UNUSED,
+ const std::string &body A_UNUSED,
+ const int64_t &money A_UNUSED) const
{
- return false;
}
void Mail2Handler::nextPage(const MailOpenTypeT openType A_UNUSED,
diff --git a/src/net/tmwa/mail2handler.h b/src/net/tmwa/mail2handler.h
index 6a3b1639b..e39e99347 100644
--- a/src/net/tmwa/mail2handler.h
+++ b/src/net/tmwa/mail2handler.h
@@ -48,10 +48,11 @@ class Mail2Handler final : public Net::Mail2Handler
const std::string &body,
const int64_t &money) const override final;
- bool queueSendMail(const std::string &to,
- const std::string &title,
- const std::string &body,
- const int64_t &money) const override final;
+ void queueCheckName(const MailQueueTypeT type,
+ const std::string &to,
+ const std::string &title,
+ const std::string &body,
+ const int64_t &money) const override final;
void nextPage(const MailOpenTypeT openType,
const int64_t mailId) const override final;