aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-07-21 11:11:12 +0200
committerGitHub <noreply@github.com>2023-07-21 11:11:12 +0200
commit821dd8400b1a27ab1f932200bfa77d7a04edef5d (patch)
treec30d09e1b72e74fae3830fbbec514b236cc0bf51 /launcher/Application.h
parent593f45298614843c14acb11994320f90a474c750 (diff)
parentb7bccb905829eebea039a32edf93606f5fc5defa (diff)
downloadPrismLauncher-821dd8400b1a27ab1f932200bfa77d7a04edef5d.tar.gz
PrismLauncher-821dd8400b1a27ab1f932200bfa77d7a04edef5d.tar.bz2
PrismLauncher-821dd8400b1a27ab1f932200bfa77d7a04edef5d.zip
Merge pull request #1253 from Trial97/catpacks
Diffstat (limited to 'launcher/Application.h')
-rw-r--r--launcher/Application.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/launcher/Application.h b/launcher/Application.h
index 527c536b..c0a980b2 100644
--- a/launcher/Application.h
+++ b/launcher/Application.h
@@ -48,6 +48,7 @@
#include <BaseInstance.h>
#include "minecraft/launch/MinecraftServerTarget.h"
+#include "ui/themes/CatPack.h"
class LaunchController;
class LocalPeer;
@@ -126,9 +127,11 @@ public:
void setApplicationTheme(const QString& name);
- shared_qobject_ptr<ExternalUpdater> updater() {
- return m_updater;
- }
+ QList<CatPack*> getValidCatPacks();
+
+ QString getCatPack(QString catName = "");
+
+ shared_qobject_ptr<ExternalUpdater> updater() { return m_updater; }
void triggerUpdateCheck();