From 85b64ad76705cd152fb2b0525de75fe4e832c31c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 2 Nov 2016 02:33:55 +0100 Subject: NOISSUE MCEdit integration - remove old 'tool', replace with Worlds --- application/MultiMC.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'application/MultiMC.h') diff --git a/application/MultiMC.h b/application/MultiMC.h index e7f41f18..4deb95d1 100644 --- a/application/MultiMC.h +++ b/application/MultiMC.h @@ -33,6 +33,7 @@ class BaseProfilerFactory; class BaseDetachedToolFactory; class TranslationDownloader; class ITheme; +class MCEditTool; #if defined(MMC) #undef MMC @@ -105,6 +106,11 @@ public: return m_icons; } + MCEditTool *mcedit() const + { + return m_mcedit.get(); + } + std::shared_ptr accounts() const { return m_accounts; @@ -120,11 +126,6 @@ public: return m_profilers; } - const QMap> &tools() const - { - return m_tools; - } - /// this is the root of the 'installation'. Used for automatic updates const QString &root() { @@ -166,6 +167,7 @@ private: void initNetwork(); void initInstances(); void initAccounts(); + void initMCEdit(); private: QDateTime startTime; @@ -186,9 +188,9 @@ private: std::shared_ptr m_translationChecker; std::shared_ptr m_globalSettingsProvider; std::map> m_themes; + std::unique_ptr m_mcedit; QMap> m_profilers; - QMap> m_tools; QString m_rootPath; Status m_status = MultiMC::Failed; -- cgit v1.2.3