summaryrefslogtreecommitdiffstats
path: root/api/logic/Env.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-08-01 20:05:18 +0200
committerPetr Mrázek <peterix@gmail.com>2018-08-01 20:05:18 +0200
commit6cee50eac6c25796eb3642239385b0c58860cd58 (patch)
tree61a0d5ff2ee5cae58458630fe815321648f26f54 /api/logic/Env.h
parent9cc93ae81db9990594c012529001a069f584ee6c (diff)
downloadMultiMC-6cee50eac6c25796eb3642239385b0c58860cd58.tar
MultiMC-6cee50eac6c25796eb3642239385b0c58860cd58.tar.gz
MultiMC-6cee50eac6c25796eb3642239385b0c58860cd58.tar.lz
MultiMC-6cee50eac6c25796eb3642239385b0c58860cd58.tar.xz
MultiMC-6cee50eac6c25796eb3642239385b0c58860cd58.zip
NOISSUE gate new mods page behind cheat code
Diffstat (limited to 'api/logic/Env.h')
-rw-r--r--api/logic/Env.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/api/logic/Env.h b/api/logic/Env.h
index 4d9ec139..8b9b827e 100644
--- a/api/logic/Env.h
+++ b/api/logic/Env.h
@@ -54,6 +54,12 @@ public:
QString getJarsPath();
void setJarsPath(const QString & path);
+
+ bool isFeatureEnabled(const QString & featureName) const;
+ void enableFeature(const QString & featureName, bool state = true);
+ void getEnabledFeatures(QSet<QString> & features) const;
+ void setEnabledFeatures(const QSet<QString> & features) const;
+
protected:
Private * d;
};