summaryrefslogtreecommitdiff
path: root/src/client.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/client.h
parentdbe40332cd904f8e48504a2e8a3e7f74f4619712 (diff)
downloadplus-143e04546197d75279d41e9eefe0fca4478673d4.tar.gz
plus-143e04546197d75279d41e9eefe0fca4478673d4.tar.bz2
plus-143e04546197d75279d41e9eefe0fca4478673d4.tar.xz
plus-143e04546197d75279d41e9eefe0fca4478673d4.zip
Add ability to open support page if error happend.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index 09b73bd9f..44a71b460 100644
--- a/src/client.h
+++ b/src/client.h
@@ -287,6 +287,9 @@ public:
static std::string getOnlineUrl() A_WARN_UNUSED
{ return instance()->mOnlineListUrl; }
+ static std::string getSupportUrl() A_WARN_UNUSED
+ { return instance()->mCurrentServer.supportUrl; }
+
static void resize(const int width, const int height,
const bool always = false)
{ instance()->resizeVideo(width, height, always); }
@@ -340,6 +343,10 @@ public:
static void updateScreenKeyboard(int height);
+ static Window *openErrorDialog(const std::string &header,
+ const std::string &message,
+ const bool modal);
+
private:
void initRootDir();