summaryrefslogtreecommitdiffstats
path: root/application/MultiMC.h
diff options
context:
space:
mode:
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r--application/MultiMC.h14
1 files changed, 8 insertions, 6 deletions
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<MojangAccountList> accounts() const
{
return m_accounts;
@@ -120,11 +126,6 @@ public:
return m_profilers;
}
- const QMap<QString, std::shared_ptr<BaseDetachedToolFactory>> &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<TranslationDownloader> m_translationChecker;
std::shared_ptr<GenericPageProvider> m_globalSettingsProvider;
std::map<QString, std::unique_ptr<ITheme>> m_themes;
+ std::unique_ptr<MCEditTool> m_mcedit;
QMap<QString, std::shared_ptr<BaseProfilerFactory>> m_profilers;
- QMap<QString, std::shared_ptr<BaseDetachedToolFactory>> m_tools;
QString m_rootPath;
Status m_status = MultiMC::Failed;