diff options
Diffstat (limited to 'api/logic/Env.h')
-rw-r--r-- | api/logic/Env.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/api/logic/Env.h b/api/logic/Env.h index 08b1dd0d..d42f13ce 100644 --- a/api/logic/Env.h +++ b/api/logic/Env.h @@ -13,6 +13,7 @@ class QNetworkAccessManager; class HttpMetaCache; class BaseVersionList; class BaseVersion; +class LWJGLVersionList; namespace Meta { @@ -24,11 +25,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,18 +49,12 @@ 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(); + LWJGLVersionList *getLegacyLWJGL(); + QString getJarsPath(); void setJarsPath(const QString & path); protected: |