diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-10 00:57:05 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-10 00:57:05 +0200 |
| commit | e32d4644034f0a6df8dd06c985ccfe74e7dd48f4 (patch) | |
| tree | 24590a649f95a8da54ffa3dbb4081272aa8d74fe /src/protocolsetup.hpp | |
| parent | 656391ecc0555b3462266b886434ae0f120a401c (diff) | |
| download | kristall-e32d4644034f0a6df8dd06c985ccfe74e7dd48f4.tar.gz | |
Enables desktop services via protocols.
Diffstat (limited to 'src/protocolsetup.hpp')
| -rw-r--r-- | src/protocolsetup.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/protocolsetup.hpp b/src/protocolsetup.hpp index 3cf3ab1..db163de 100644 --- a/src/protocolsetup.hpp +++ b/src/protocolsetup.hpp @@ -22,7 +22,9 @@ struct ProtocolSetup void load(QSettings & settings); - bool isSchemeSupported(QString const & scheme) const; + + enum ProtocolSupport { Disabled, Unsupported, Enabled }; + ProtocolSupport isSchemeSupported(QString const & scheme) const; }; #endif // PROTOCOLSETUP_HPP |
