summaryrefslogtreecommitdiffstats
path: root/api/logic/Env.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/Env.h')
-rw-r--r--api/logic/Env.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/api/logic/Env.h b/api/logic/Env.h
index 08b1dd0d..276d762d 100644
--- a/api/logic/Env.h
+++ b/api/logic/Env.h
@@ -24,11 +24,12 @@ class Index;
#endif
#define ENV (Env::getInstance())
+
class MULTIMC_LOGIC_EXPORT Env
{
friend class MultiMC;
private:
- class Private;
+ struct Private;
Env();
~Env();
static void dispose();
@@ -47,14 +48,6 @@ public:
/// Updates the application proxy settings from the settings object.
void updateProxySettings(QString proxyTypeStr, QString addr, int port, QString user, QString password);
- /// get a version list by name
- std::shared_ptr<BaseVersionList> getVersionList(QString component);
-
- /// get a version by list name and version name
- std::shared_ptr<BaseVersion> getVersion(QString component, QString version);
-
- void registerVersionList(QString name, std::shared_ptr<BaseVersionList> vlist);
-
void registerIconList(std::shared_ptr<IIconList> iconlist);
shared_qobject_ptr<Meta::Index> metadataIndex();