aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-11-05 11:16:41 +0100
committerGitHub <noreply@github.com>2022-11-05 11:16:41 +0100
commite4bd82190aff5c3293e21808a64bd81956f17b16 (patch)
tree19fc0bbc9bbf31e6d47a1fa574657b9db94d7521 /launcher/Application.h
parent695734636f9c8668d447edce24dc1b0e3dd00214 (diff)
parentc2f37716e59055636bee2d1549a16809c408e45b (diff)
downloadPrismLauncher-e4bd82190aff5c3293e21808a64bd81956f17b16.tar.gz
PrismLauncher-e4bd82190aff5c3293e21808a64bd81956f17b16.tar.bz2
PrismLauncher-e4bd82190aff5c3293e21808a64bd81956f17b16.zip
Merge pull request #149 from TayouVR/better-custom-themes
Diffstat (limited to 'launcher/Application.h')
-rw-r--r--launcher/Application.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/launcher/Application.h b/launcher/Application.h
index 8fa0ab10..78ab8fbd 100644
--- a/launcher/Application.h
+++ b/launcher/Application.h
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-only
/*
- * PolyMC - Minecraft Launcher
+ * Prism Launcher - Minecraft Launcher
* Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net>
+ * Copyright (C) 2022 Tayou <tayou@gmx.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -68,6 +69,7 @@ class BaseDetachedToolFactory;
class TranslationsModel;
class ITheme;
class MCEditTool;
+class ThemeManager;
namespace Meta {
class Index;
@@ -118,7 +120,7 @@ public:
void setIconTheme(const QString& name);
- std::vector<ITheme *> getValidApplicationThemes();
+ QList<ITheme*> getValidApplicationThemes();
void setApplicationTheme(const QString& name, bool initial);
@@ -255,9 +257,9 @@ private:
std::shared_ptr<JavaInstallList> m_javalist;
std::shared_ptr<TranslationsModel> m_translations;
std::shared_ptr<GenericPageProvider> m_globalSettingsProvider;
- std::map<QString, std::unique_ptr<ITheme>> m_themes;
std::unique_ptr<MCEditTool> m_mcedit;
QSet<QString> m_features;
+ std::unique_ptr<ThemeManager> m_themeManager;
QMap<QString, std::shared_ptr<BaseProfilerFactory>> m_profilers;