summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 01:19:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 01:19:10 +0300
commitf57b683f8f9909ba7787c33a4953869a2ce04a5c (patch)
treef48cbefcebeebd4820e1aed4bed3b9f520486ba5 /src/enums
parentb42cc5c01d3bdd274d9b9e90aad574d865c4e67a (diff)
downloadmv-f57b683f8f9909ba7787c33a4953869a2ce04a5c.tar.gz
mv-f57b683f8f9909ba7787c33a4953869a2ce04a5c.tar.bz2
mv-f57b683f8f9909ba7787c33a4953869a2ce04a5c.tar.xz
mv-f57b683f8f9909ba7787c33a4953869a2ce04a5c.zip
Convert DialogType enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/gui/dialogtype.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/enums/gui/dialogtype.h b/src/enums/gui/dialogtype.h
index 3a801c8eb..08e1a7ded 100644
--- a/src/enums/gui/dialogtype.h
+++ b/src/enums/gui/dialogtype.h
@@ -23,16 +23,16 @@
#ifndef ENUMS_GUI_DIALOGTYPE_H
#define ENUMS_GUI_DIALOGTYPE_H
+#include "enums/simpletypes/enumdefines.h"
+
#undef ERROR
-namespace DialogType
+enumStart(DialogType)
{
- enum Type
- {
- OK = 0,
- ERROR,
- SILENCE
- };
+ OK = 0,
+ ERROR,
+ SILENCE
}
+enumEnd(DialogType);
#endif // ENUMS_GUI_DIALOGTYPE_H