diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-05-29 21:18:34 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-07-08 16:25:03 +0200 |
commit | 4103948132636fcb01daa866f107259a821419dd (patch) | |
tree | 03a4c9a4da41018829c2744f799829b390a69f3b /launcher/Application.h | |
parent | 906f26698b73f3868939d3f66e6e639ac2da2263 (diff) | |
download | PrismLauncher-4103948132636fcb01daa866f107259a821419dd.tar.gz PrismLauncher-4103948132636fcb01daa866f107259a821419dd.tar.bz2 PrismLauncher-4103948132636fcb01daa866f107259a821419dd.zip |
feat: track capabilities of application
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/Application.h')
-rw-r--r-- | launcher/Application.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/launcher/Application.h b/launcher/Application.h index 5eb2f832..3113f552 100644 --- a/launcher/Application.h +++ b/launcher/Application.h @@ -93,6 +93,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(); @@ -157,6 +165,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. |