summaryrefslogtreecommitdiffstats
path: root/application/MultiMC.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-07-05 02:29:41 +0200
committerPetr Mrázek <peterix@gmail.com>2015-07-05 02:29:41 +0200
commit5f41886d76c11fe8befe8d059c75dcb5bc11f78d (patch)
tree1d5917d7492014c52276528f5aafc6f7e7665872 /application/MultiMC.h
parent7f1320390c55e408a4b0081b2606eab3892a8148 (diff)
downloadMultiMC-5f41886d76c11fe8befe8d059c75dcb5bc11f78d.tar
MultiMC-5f41886d76c11fe8befe8d059c75dcb5bc11f78d.tar.gz
MultiMC-5f41886d76c11fe8befe8d059c75dcb5bc11f78d.tar.lz
MultiMC-5f41886d76c11fe8befe8d059c75dcb5bc11f78d.tar.xz
MultiMC-5f41886d76c11fe8befe8d059c75dcb5bc11f78d.zip
GH-1053 split settings dialog creation to its own namespace
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r--application/MultiMC.h7
1 files changed, 7 insertions, 0 deletions
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 <QDateTime>
#include <updater/GoUpdate.h>
+class GenericPageProvider;
class QFile;
class MinecraftVersionList;
class LWJGLVersionList;
@@ -54,6 +55,11 @@ public:
return m_settings;
}
+ std::shared_ptr<GenericPageProvider> globalSettingsPages()
+ {
+ return m_globalSettingsProvider;
+ }
+
qint64 timeSinceStart() const
{
return startTime.msecsTo(QDateTime::currentDateTime());
@@ -163,6 +169,7 @@ private:
std::shared_ptr<MinecraftVersionList> m_minecraftlist;
std::shared_ptr<JavaVersionList> m_javalist;
std::shared_ptr<TranslationDownloader> m_translationChecker;
+ std::shared_ptr<GenericPageProvider> m_globalSettingsProvider;
QMap<QString, std::shared_ptr<BaseProfilerFactory>> m_profilers;
QMap<QString, std::shared_ptr<BaseDetachedToolFactory>> m_tools;