diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-05 18:29:07 +0300 |
commit | 71fd4e8d3255e15c16a4f4b51c87222c661a5b33 (patch) | |
tree | 3942aec29f33b5ea2aa2e353451e10648f1bbb82 /src/gui/dialogsmanager.h | |
parent | 45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (diff) | |
download | manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.gz manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.bz2 manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.xz manaverse-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.zip |
Add strong typed bool type for modal bool flag.
Diffstat (limited to 'src/gui/dialogsmanager.h')
-rw-r--r-- | src/gui/dialogsmanager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/dialogsmanager.h b/src/gui/dialogsmanager.h index d45104f80..ec4ce12a1 100644 --- a/src/gui/dialogsmanager.h +++ b/src/gui/dialogsmanager.h @@ -23,6 +23,8 @@ #ifndef GUI_DIALOGSMANAGER_H #define GUI_DIALOGSMANAGER_H +#include "enums/simpletypes.h" + #include "listeners/attributelistener.h" #include "listeners/playerdeathlistener.h" @@ -44,7 +46,7 @@ class DialogsManager final : public AttributeListener, static Window *openErrorDialog(const std::string &header, const std::string &message, - const bool modal); + const Modal modal); void playerDeath() override final; |