diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-12 00:22:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-12 00:22:38 +0300 |
commit | 21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb (patch) | |
tree | fe69bae2c36bb13efd57aa7a487fd744ad4d7949 /src/net/mail2handler.h | |
parent | 59dc7219d3b8491fdd139183cf09742787e407db (diff) | |
download | mv-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.tar.gz mv-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.tar.bz2 mv-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.tar.xz mv-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.zip |
Add MailOpenType enum for different open types.
Diffstat (limited to 'src/net/mail2handler.h')
-rw-r--r-- | src/net/mail2handler.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/net/mail2handler.h b/src/net/mail2handler.h index 9381838fb..baff5576e 100644 --- a/src/net/mail2handler.h +++ b/src/net/mail2handler.h @@ -21,6 +21,8 @@ #ifndef NET_MAIL2HANDLER_H #define NET_MAIL2HANDLER_H +#include "enums/net/mailopentype.h" + #include <string> #include "localconsts.h" @@ -54,25 +56,25 @@ class Mail2Handler notfinal const std::string &body, const int64_t &money) const = 0; - virtual void nextPage(const int openType, + virtual void nextPage(const MailOpenTypeT openType, const int64_t mailId) const = 0; - virtual void readMail(const int openType, + virtual void readMail(const MailOpenTypeT openType, const int64_t mailId) const = 0; - virtual void deleteMail(const int openType, + virtual void deleteMail(const MailOpenTypeT openType, const int64_t mailId) const = 0; - virtual void requestMoney(const int openType, + virtual void requestMoney(const MailOpenTypeT openType, const int64_t mailId) const = 0; - virtual void requestItems(const int openType, + virtual void requestItems(const MailOpenTypeT openType, const int64_t mailId) const = 0; - virtual void refreshMailList(const int openType, + virtual void refreshMailList(const MailOpenTypeT openType, const int64_t mailId) const = 0; - virtual void openMailBox(const int openType) const = 0; + virtual void openMailBox(const MailOpenTypeT openType) const = 0; virtual void closeMailBox() const = 0; |