summaryrefslogtreecommitdiff
path: root/src/resources
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/resources
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/resources')
-rw-r--r--src/resources/mailqueue.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/mailqueue.h b/src/resources/mailqueue.h
index bf694ad91..6f8fe83ff 100644
--- a/src/resources/mailqueue.h
+++ b/src/resources/mailqueue.h
@@ -21,6 +21,8 @@
#ifndef RESOURCES_MAILQUEUE_H
#define RESOURCES_MAILQUEUE_H
+#include "enums/resources/mailqueuetype.h"
+
#include "localconsts.h"
#include <string>
@@ -32,7 +34,7 @@ struct MailQueue final
title(),
body(),
money(0),
- sendMail(false)
+ type(MailQueueType::Unknown)
{ }
A_DELETE_COPY(MailQueue)
@@ -41,7 +43,7 @@ struct MailQueue final
std::string title;
std::string body;
int money;
- bool sendMail;
+ MailQueueTypeT type;
};
#endif // RESOURCES_MAILQUEUE_H