summaryrefslogtreecommitdiff
path: root/src/net/mail2handler.h
diff options
context:
space:
mode:
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;