diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-07-11 14:56:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 14:56:09 +0200 |
commit | 8f4d7ac655d3815605422c9fc620d5a0f97e41ef (patch) | |
tree | b2a0c3fc3e12ac2d4ce7d8d6a8b24c256b500c57 /launcher/Application.h | |
parent | c5625d8d32f45b6ecb71cf7293176dfe7c6579a3 (diff) | |
parent | 87cbff391c28d78a5be3d96a0fd58e224d2ed72e (diff) | |
download | PrismLauncher-8f4d7ac655d3815605422c9fc620d5a0f97e41ef.tar.gz PrismLauncher-8f4d7ac655d3815605422c9fc620d5a0f97e41ef.tar.bz2 PrismLauncher-8f4d7ac655d3815605422c9fc620d5a0f97e41ef.zip |
Merge pull request #678 from Scrumplex/improvements-around-proprietary-services
Diffstat (limited to 'launcher/Application.h')
-rw-r--r-- | launcher/Application.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/launcher/Application.h b/launcher/Application.h index e3b4fced..019c3c3d 100644 --- a/launcher/Application.h +++ b/launcher/Application.h @@ -90,6 +90,14 @@ public: Initialized }; + enum Capability { + None = 0, + + SupportsMSA = 1 << 0, + SupportsFlame = 1 << 1, + }; + Q_DECLARE_FLAGS(Capabilities, Capability) + public: Application(int &argc, char **argv); virtual ~Application(); @@ -154,6 +162,8 @@ public: shared_qobject_ptr<Meta::Index> metadataIndex(); + Capabilities currentCapabilities(); + /*! * Finds and returns the full path to a jar file. * Returns a null-string if it could not be found. @@ -161,7 +171,7 @@ public: QString getJarPath(QString jarFile); QString getMSAClientID(); - QString getCurseKey(); + QString getFlameAPIKey(); QString getUserAgent(); QString getUserAgentUncached(); |