diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-23 20:34:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-23 20:55:58 +0300 |
commit | 79864826790a33a3583819fe02893eed010381d9 (patch) | |
tree | 33b90cf3613900c9de45715e5fea69a721d26f10 /src/net/mail2handler.h | |
parent | 4da8a6304b5b7bb4d2b655ed3471c0ff4a7d610a (diff) | |
download | manaverse-79864826790a33a3583819fe02893eed010381d9.tar.gz manaverse-79864826790a33a3583819fe02893eed010381d9.tar.bz2 manaverse-79864826790a33a3583819fe02893eed010381d9.tar.xz manaverse-79864826790a33a3583819fe02893eed010381d9.zip |
Add mailqueuetype enum for mail queue types.
Diffstat (limited to 'src/net/mail2handler.h')
-rw-r--r-- | src/net/mail2handler.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/net/mail2handler.h b/src/net/mail2handler.h index 2fd0f594c..47b441f77 100644 --- a/src/net/mail2handler.h +++ b/src/net/mail2handler.h @@ -23,6 +23,8 @@ #include "enums/net/mailopentype.h" +#include "enums/resources/mailqueuetype.h" + #include <string> #include "localconsts.h" @@ -56,10 +58,11 @@ class Mail2Handler notfinal const std::string &body, const int64_t &money) const = 0; - virtual bool queueSendMail(const std::string &to, - const std::string &title, - const std::string &body, - const int64_t &money) const = 0; + virtual void queueCheckName(const MailQueueTypeT type, + const std::string &to, + const std::string &title, + const std::string &body, + const int64_t &money) const = 0; virtual void nextPage(const MailOpenTypeT openType, const int64_t mailId) const = 0; |