aboutsummaryrefslogtreecommitdiff
path: root/buildconfig/BuildConfig.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-05-08 21:42:40 +0200
committerGitHub <noreply@github.com>2022-05-08 21:42:40 +0200
commit7b46f50cf1c5709406298424a404a66c948c7a0c (patch)
treee228d3fafa7328b232743041bda3ae2744afa611 /buildconfig/BuildConfig.h
parent5adcc26190b82dc9c1050452645d762f5e8b5a5e (diff)
parentc4549a537559d1cd5897b9352c0832e77a48e8f0 (diff)
downloadPrismLauncher-7b46f50cf1c5709406298424a404a66c948c7a0c.tar.gz
PrismLauncher-7b46f50cf1c5709406298424a404a66c948c7a0c.tar.bz2
PrismLauncher-7b46f50cf1c5709406298424a404a66c948c7a0c.zip
Merge pull request #530 from ryanccn/cfcore-backport
Diffstat (limited to 'buildconfig/BuildConfig.h')
-rw-r--r--buildconfig/BuildConfig.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/buildconfig/BuildConfig.h b/buildconfig/BuildConfig.h
index 6304387c..a653e3cf 100644
--- a/buildconfig/BuildConfig.h
+++ b/buildconfig/BuildConfig.h
@@ -39,9 +39,8 @@
/**
* \brief The Config class holds all the build-time information passed from the build system.
*/
-class Config
-{
-public:
+class Config {
+ public:
Config();
QString LAUNCHER_NAME;
QString LAUNCHER_DISPLAYNAME;
@@ -74,7 +73,6 @@ public:
/// URL for the updater's channel
QString UPDATER_BASE;
-
/// User-Agent to use.
QString USER_AGENT;
@@ -117,6 +115,11 @@ public:
QString MSA_CLIENT_ID;
/**
+ * Client API key for CurseForge
+ */
+ QString CURSEFORGE_API_KEY;
+
+ /**
* Metadata repository URL prefix
*/
QString META_URL;
@@ -154,4 +157,3 @@ public:
};
extern const Config BuildConfig;
-