summaryrefslogtreecommitdiffstats
path: root/application/MultiMC.h
diff options
context:
space:
mode:
Diffstat (limited to 'application/MultiMC.h')
-rw-r--r--application/MultiMC.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/application/MultiMC.h b/application/MultiMC.h
index 887f9c2d..3b8751c1 100644
--- a/application/MultiMC.h
+++ b/application/MultiMC.h
@@ -25,6 +25,7 @@ class UpdateChecker;
class BaseProfilerFactory;
class BaseDetachedToolFactory;
class TranslationDownloader;
+class ITheme;
#if defined(MMC)
#undef MMC
@@ -69,6 +70,9 @@ public:
void setIconTheme(const QString& name);
+ std::vector<ITheme *> getValidApplicationThemes();
+ void setApplicationTheme(const QString& name);
+
// DownloadUpdateTask
std::shared_ptr<UpdateChecker> updateChecker()
{
@@ -145,6 +149,7 @@ private slots:
private:
void initLogger();
void initIcons();
+ void initThemes();
void initGlobalSettings(bool test_mode);
void initTranslations();
void initSSL();
@@ -169,6 +174,7 @@ private:
std::shared_ptr<JavaInstallList> m_javalist;
std::shared_ptr<TranslationDownloader> m_translationChecker;
std::shared_ptr<GenericPageProvider> m_globalSettingsProvider;
+ std::map<QString, std::unique_ptr<ITheme>> m_themes;
QMap<QString, std::shared_ptr<BaseProfilerFactory>> m_profilers;
QMap<QString, std::shared_ptr<BaseDetachedToolFactory>> m_tools;