summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/enums/resources/notifyflags.h27
-rw-r--r--src/resources/notificationinfo.h4
2 files changed, 15 insertions, 16 deletions
diff --git a/src/enums/resources/notifyflags.h b/src/enums/resources/notifyflags.h
index e86ee8741..ea2ddd41a 100644
--- a/src/enums/resources/notifyflags.h
+++ b/src/enums/resources/notifyflags.h
@@ -21,20 +21,19 @@
#ifndef ENUMS_RESOURCES_NOTIFYFLAGS_H
#define ENUMS_RESOURCES_NOTIFYFLAGS_H
-#include "localconsts.h"
+#include "enums/simpletypes/enumdefines.h"
-namespace NotifyFlags
+enumStart(NotifyFlags)
{
- enum Type
- {
- EMPTY = 0,
- INT,
- STRING,
- GUILD,
- GUILD_STRING,
- PARTY,
- PARTY_STRING,
- SPEECH
- };
-} // namespace NotifyFlags
+ EMPTY = 0,
+ INT,
+ STRING,
+ GUILD,
+ GUILD_STRING,
+ PARTY,
+ PARTY_STRING,
+ SPEECH
+}
+enumEnd(NotifyFlags);
+
#endif // ENUMS_RESOURCES_NOTIFYFLAGS_H
diff --git a/src/resources/notificationinfo.h b/src/resources/notificationinfo.h
index 4ea05b1ca..b7bb8b8a4 100644
--- a/src/resources/notificationinfo.h
+++ b/src/resources/notificationinfo.h
@@ -30,7 +30,7 @@ struct NotificationInfo final
#ifdef ADVGCC
NotificationInfo(const char *const sound0,
const char *const text0,
- const NotifyFlags::Type flags0) :
+ const NotifyFlagsT flags0) :
sound(sound0),
text(text0),
flags(flags0)
@@ -41,7 +41,7 @@ struct NotificationInfo final
const char *sound;
const char *text;
- const NotifyFlags::Type flags;
+ const NotifyFlagsT flags;
};
#endif // RESOURCES_NOTIFICATIONINFO_H