From 5f41886d76c11fe8befe8d059c75dcb5bc11f78d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 5 Jul 2015 02:29:41 +0200 Subject: GH-1053 split settings dialog creation to its own namespace --- application/MultiMC.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'application/MultiMC.h') diff --git a/application/MultiMC.h b/application/MultiMC.h index 7389dc8b..c1df1bb7 100644 --- a/application/MultiMC.h +++ b/application/MultiMC.h @@ -8,6 +8,7 @@ #include #include +class GenericPageProvider; class QFile; class MinecraftVersionList; class LWJGLVersionList; @@ -54,6 +55,11 @@ public: return m_settings; } + std::shared_ptr globalSettingsPages() + { + return m_globalSettingsProvider; + } + qint64 timeSinceStart() const { return startTime.msecsTo(QDateTime::currentDateTime()); @@ -163,6 +169,7 @@ private: std::shared_ptr m_minecraftlist; std::shared_ptr m_javalist; std::shared_ptr m_translationChecker; + std::shared_ptr m_globalSettingsProvider; QMap> m_profilers; QMap> m_tools; -- cgit v1.2.3