summaryrefslogtreecommitdiff
path: root/src/net/mail2handler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-12 00:22:38 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-12 00:22:38 +0300
commit21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb (patch)
treefe69bae2c36bb13efd57aa7a487fd744ad4d7949 /src/net/mail2handler.h
parent59dc7219d3b8491fdd139183cf09742787e407db (diff)
downloadmanaverse-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.tar.gz
manaverse-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.tar.bz2
manaverse-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.tar.xz
manaverse-21cdd2c1dfd1763fcbf93830c3d463b69ea5bbeb.zip
Add MailOpenType enum for different open types.
Diffstat (limited to 'src/net/mail2handler.h')
-rw-r--r--src/net/mail2handler.h16
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;