summaryrefslogtreecommitdiff
path: root/src/gui/windows/okdialog.h
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/gui/windows/okdialog.h
parentb42cc5c01d3bdd274d9b9e90aad574d865c4e67a (diff)
downloadmanaplus-f57b683f8f9909ba7787c33a4953869a2ce04a5c.tar.gz
manaplus-f57b683f8f9909ba7787c33a4953869a2ce04a5c.tar.bz2
manaplus-f57b683f8f9909ba7787c33a4953869a2ce04a5c.tar.xz
manaplus-f57b683f8f9909ba7787c33a4953869a2ce04a5c.zip
Convert DialogType enum into strong typed enum.
Diffstat (limited to 'src/gui/windows/okdialog.h')
-rw-r--r--src/gui/windows/okdialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/windows/okdialog.h b/src/gui/windows/okdialog.h
index 32c3c3131..6f16cc345 100644
--- a/src/gui/windows/okdialog.h
+++ b/src/gui/windows/okdialog.h
@@ -25,6 +25,8 @@
#include "gui/widgets/window.h"
+#include "enums/gui/dialogtype.h"
+
#include "enums/simpletypes/showcenter.h"
#include "listeners/actionlistener.h"
@@ -50,7 +52,7 @@ class OkDialog final : public Window,
OkDialog(const std::string &restrict title,
const std::string &restrict msg,
const std::string &restrict button,
- const int soundEvent,
+ const DialogTypeT soundEvent,
const Modal modal,
const ShowCenter showCenter,
Window *const parent,