summaryrefslogtreecommitdiff
path: root/src/gui/dialogsmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogsmanager.h')
-rw-r--r--src/gui/dialogsmanager.h8
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