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/windows/confirmdialog.h | |
parent | 45460ca58b3cbf6d92fe3cac1311bbfc9d00e841 (diff) | |
download | manaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.gz manaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.bz2 manaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.tar.xz manaplus-71fd4e8d3255e15c16a4f4b51c87222c661a5b33.zip |
Add strong typed bool type for modal bool flag.
Diffstat (limited to 'src/gui/windows/confirmdialog.h')
-rw-r--r-- | src/gui/windows/confirmdialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/confirmdialog.h b/src/gui/windows/confirmdialog.h index ea86b2d60..2b3951dad 100644 --- a/src/gui/windows/confirmdialog.h +++ b/src/gui/windows/confirmdialog.h @@ -50,7 +50,8 @@ class ConfirmDialog notfinal : public Window, ConfirmDialog(const std::string &restrict title, const std::string &restrict msg, const std::string &restrict soundEvent = SOUND_REQUEST, - const bool ignore = false, const bool modal = false, + const bool ignore = false, + const Modal modal = Modal_false, Window *const parent = nullptr); A_DELETE_COPY(ConfirmDialog) |