diff options
Diffstat (limited to 'MultiMC.h')
-rw-r--r-- | MultiMC.h | 15 |
1 files changed, 6 insertions, 9 deletions
@@ -23,21 +23,13 @@ class NewsChecker; class StatusChecker; class BaseProfilerFactory; class BaseDetachedToolFactory; +class URNResolver; #if defined(MMC) #undef MMC #endif #define MMC (static_cast<MultiMC *>(QCoreApplication::instance())) -// FIXME: possibly move elsewhere -enum InstSortMode -{ - // Sort alphabetically by name. - Sort_Name, - // Sort by which instance was launched most recently. - Sort_LastLaunch -}; - enum UpdateFlag { None = 0x0, @@ -128,6 +120,8 @@ public: std::shared_ptr<JavaVersionList> javalist(); + std::shared_ptr<URNResolver> resolver(); + QMap<QString, std::shared_ptr<BaseProfilerFactory>> profilers() { return m_profilers; @@ -214,8 +208,11 @@ private: std::shared_ptr<LiteLoaderVersionList> m_liteloaderlist; std::shared_ptr<MinecraftVersionList> m_minecraftlist; std::shared_ptr<JavaVersionList> m_javalist; + std::shared_ptr<URNResolver> m_resolver; + QMap<QString, std::shared_ptr<BaseProfilerFactory>> m_profilers; QMap<QString, std::shared_ptr<BaseDetachedToolFactory>> m_tools; + QsLogging::DestinationPtr m_fileDestination; QsLogging::DestinationPtr m_debugDestination; |