summaryrefslogtreecommitdiff
path: root/src/gui/confirmdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-30 16:50:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-30 16:50:50 +0300
commit143e04546197d75279d41e9eefe0fca4478673d4 (patch)
tree0a78eb7251943571342bba70210161af603473d8 /src/gui/confirmdialog.h
parentdbe40332cd904f8e48504a2e8a3e7f74f4619712 (diff)
downloadManaVerse-143e04546197d75279d41e9eefe0fca4478673d4.tar.gz
ManaVerse-143e04546197d75279d41e9eefe0fca4478673d4.tar.bz2
ManaVerse-143e04546197d75279d41e9eefe0fca4478673d4.tar.xz
ManaVerse-143e04546197d75279d41e9eefe0fca4478673d4.zip
Add ability to open support page if error happend.
Diffstat (limited to 'src/gui/confirmdialog.h')
-rw-r--r--src/gui/confirmdialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/confirmdialog.h b/src/gui/confirmdialog.h
index 70eb10124..f2ac75bbb 100644
--- a/src/gui/confirmdialog.h
+++ b/src/gui/confirmdialog.h
@@ -25,6 +25,8 @@
#include "localconsts.h"
+#include "soundmanager.h"
+
#include "gui/widgets/window.h"
#include <guichan/actionlistener.hpp>
@@ -45,6 +47,7 @@ class ConfirmDialog : public Window, public gcn::ActionListener
* @see Window::Window
*/
ConfirmDialog(const std::string &title, const std::string &msg,
+ const std::string &soundEvent = SOUND_REQUEST,
const bool ignore = false, const bool modal = false,
Window *const parent = nullptr);