summaryrefslogtreecommitdiffstats
path: root/MultiMC.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-05-17 18:21:32 +0200
committerPetr Mrázek <peterix@gmail.com>2014-05-17 18:21:32 +0200
commit7f2a16917e347db2ffcdd5a148feda71f6f3a47e (patch)
tree12d7d1d7439497f7cdfee81ffe5d249e79255bff /MultiMC.h
parent8a8c4193e6ee7cd55870ef8495cb7cc3b9534e02 (diff)
downloadMultiMC-7f2a16917e347db2ffcdd5a148feda71f6f3a47e.tar
MultiMC-7f2a16917e347db2ffcdd5a148feda71f6f3a47e.tar.gz
MultiMC-7f2a16917e347db2ffcdd5a148feda71f6f3a47e.tar.lz
MultiMC-7f2a16917e347db2ffcdd5a148feda71f6f3a47e.tar.xz
MultiMC-7f2a16917e347db2ffcdd5a148feda71f6f3a47e.zip
Add static data path for ... static data. Like translations. Move translations there.
Diffstat (limited to 'MultiMC.h')
-rw-r--r--MultiMC.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/MultiMC.h b/MultiMC.h
index cb37b1e6..00eb97f8 100644
--- a/MultiMC.h
+++ b/MultiMC.h
@@ -147,6 +147,11 @@ public:
*/
bool openJsonEditor(const QString &filename);
+ /// this is the static data. it stores things that don't move.
+ const QString &staticData()
+ {
+ return staticDataPath;
+ }
/// this is the root of the 'installation'. Used for automatic updates
const QString &root()
{
@@ -215,6 +220,7 @@ private:
UpdateFlags m_updateOnExitFlags = None;
QString rootPath;
+ QString staticDataPath;
QString binPath;
QString dataPath;
QString origcwdPath;