diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-07-15 14:51:05 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-07-15 14:51:05 +0200 |
commit | bbb3b3e6f6e3c0f95873f22e6d0a4aaf350f49d9 (patch) | |
tree | e6497e304b7b9368367565fbc7c06efab1124b1c /api/logic/Env.h | |
parent | 03280cc62e75f8073f8d3d9e9e3952acf21fa77d (diff) | |
download | PrismLauncher-bbb3b3e6f6e3c0f95873f22e6d0a4aaf350f49d9.tar.gz PrismLauncher-bbb3b3e6f6e3c0f95873f22e6d0a4aaf350f49d9.tar.bz2 PrismLauncher-bbb3b3e6f6e3c0f95873f22e6d0a4aaf350f49d9.zip |
NOISSUE tabs -> spaces
Diffstat (limited to 'api/logic/Env.h')
-rw-r--r-- | api/logic/Env.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/api/logic/Env.h b/api/logic/Env.h index 276d762d..4d9ec139 100644 --- a/api/logic/Env.h +++ b/api/logic/Env.h @@ -20,40 +20,40 @@ class Index; } #if defined(ENV) - #undef ENV + #undef ENV #endif #define ENV (Env::getInstance()) class MULTIMC_LOGIC_EXPORT Env { - friend class MultiMC; + friend class MultiMC; private: - struct Private; - Env(); - ~Env(); - static void dispose(); + struct Private; + Env(); + ~Env(); + static void dispose(); public: - static Env& getInstance(); + static Env& getInstance(); - QNetworkAccessManager &qnam() const; + QNetworkAccessManager &qnam() const; - shared_qobject_ptr<HttpMetaCache> metacache(); + shared_qobject_ptr<HttpMetaCache> metacache(); - std::shared_ptr<IIconList> icons(); + std::shared_ptr<IIconList> icons(); - /// init the cache. FIXME: possible future hook point - void initHttpMetaCache(); + /// init the cache. FIXME: possible future hook point + void initHttpMetaCache(); - /// Updates the application proxy settings from the settings object. - void updateProxySettings(QString proxyTypeStr, QString addr, int port, QString user, QString password); + /// Updates the application proxy settings from the settings object. + void updateProxySettings(QString proxyTypeStr, QString addr, int port, QString user, QString password); - void registerIconList(std::shared_ptr<IIconList> iconlist); + void registerIconList(std::shared_ptr<IIconList> iconlist); - shared_qobject_ptr<Meta::Index> metadataIndex(); + shared_qobject_ptr<Meta::Index> metadataIndex(); - QString getJarsPath(); - void setJarsPath(const QString & path); + QString getJarsPath(); + void setJarsPath(const QString & path); protected: - Private * d; + Private * d; }; |