summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-07 15:57:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-07 15:58:39 +0300
commitcf77bdc4baa273d8750175411cb59af3ca3c07ac (patch)
tree1acc38a0c860096d2ed96451933c1c16dacee0ac /src/client.h
parentc8639374e4ca2c50440b0885e902a0b428836e40 (diff)
downloadmv-cf77bdc4baa273d8750175411cb59af3ca3c07ac.tar.gz
mv-cf77bdc4baa273d8750175411cb59af3ca3c07ac.tar.bz2
mv-cf77bdc4baa273d8750175411cb59af3ca3c07ac.tar.xz
mv-cf77bdc4baa273d8750175411cb59af3ca3c07ac.zip
Split init in client.cpp into separate methods.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h
index 1607a73ab..dcf761847 100644
--- a/src/client.h
+++ b/src/client.h
@@ -326,6 +326,22 @@ public:
const bool modal);
private:
+ void createWindows();
+
+ void initLang();
+
+ void initSoundManager();
+
+ void initConfigListeners();
+
+ void initGraphics();
+
+ void initTitle();
+
+ void extractDataDir();
+
+ void mountDataDir();
+
void initRootDir();
void initHomeDir();
@@ -362,7 +378,7 @@ private:
static Client *mInstance;
- static void bindTextDomain(const char *const name, const char *const path);
+ static void bindTextDomain(const char *const path);
static void setEnv(const char *const name, const char *const value);