aboutsummaryrefslogtreecommitdiff
path: root/launcher/DesktopServices.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-02 18:24:54 +0200
committerGitHub <noreply@github.com>2023-08-02 18:24:54 +0200
commit39d7bc6c24922c2d6e3d6f7eb2ab7efb9b35940a (patch)
treeb933c710d52ecaa8d6fce9f99c91e27419e460db /launcher/DesktopServices.h
parentbb039d4bc71863bd068efbadb788e76cf1b7bce3 (diff)
parent6a7f63166d9d65a48b4bc0b0f1355aba047967ee (diff)
downloadPrismLauncher-39d7bc6c24922c2d6e3d6f7eb2ab7efb9b35940a.tar.gz
PrismLauncher-39d7bc6c24922c2d6e3d6f7eb2ab7efb9b35940a.tar.bz2
PrismLauncher-39d7bc6c24922c2d6e3d6f7eb2ab7efb9b35940a.zip
Merge pull request #1294 from ashuntu/develop
Diffstat (limited to 'launcher/DesktopServices.h')
-rw-r--r--launcher/DesktopServices.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/launcher/DesktopServices.h b/launcher/DesktopServices.h
index 21c9cae0..b1948cc2 100644
--- a/launcher/DesktopServices.h
+++ b/launcher/DesktopServices.h
@@ -34,5 +34,18 @@ namespace DesktopServices
*/
bool openUrl(const QUrl &url);
+ /**
+ * Determine whether the launcher is running in a Flatpak environment
+ */
bool isFlatpak();
+
+ /**
+ * Determine whether the launcher is running in a Snap environment
+ */
+ bool isSnap();
+
+ /**
+ * Determine whether the launcher is running in a sandboxed (Flatpak or Snap) environment
+ */
+ bool isSandbox();
}