diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-29 00:27:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-29 12:56:42 +0300 |
commit | 7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680 (patch) | |
tree | c9689b1b707b73a8a4e3cc5b24d9ca67765ef217 /src/gui/dialogsmanager.h | |
parent | 1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f (diff) | |
download | manaplus-7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680.tar.gz manaplus-7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680.tar.bz2 manaplus-7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680.tar.xz manaplus-7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680.zip |
Move openErrorDialog into DialogsManager.
Diffstat (limited to 'src/gui/dialogsmanager.h')
-rw-r--r-- | src/gui/dialogsmanager.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/dialogsmanager.h b/src/gui/dialogsmanager.h index 2814276a2..2190819c3 100644 --- a/src/gui/dialogsmanager.h +++ b/src/gui/dialogsmanager.h @@ -23,12 +23,20 @@ #ifndef DIALOGMANAGER_H #define DIALOGMANAGER_H +#include <string> + +class Window; + class DialogsManager final { public: static void closeDialogs(); static void createUpdaterWindow(); + + static Window *openErrorDialog(const std::string &header, + const std::string &message, + const bool modal); }; #endif // DIALOGMANAGER_H |