diff options
author | Simon McVittie <smcv@collabora.com> | 2021-05-21 14:31:34 +0100 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2021-05-25 11:11:03 +0200 |
commit | e196efbf6b00c0451c4888aa9f7b8b148f4a22c5 (patch) | |
tree | 06d1d67ea544e49ae1f2a3db42db20717ddf8d01 | |
parent | 0a44aaff8d2adff52b0d322cb25f52b241962de1 (diff) | |
download | flatpak-e196efbf6b00c0451c4888aa9f7b8b148f4a22c5.tar.gz |
portal: Add NONE values for flags sets
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r-- | portal/flatpak-portal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/portal/flatpak-portal.h b/portal/flatpak-portal.h index 598a0286..0280ceaa 100644 --- a/portal/flatpak-portal.h +++ b/portal/flatpak-portal.h @@ -36,6 +36,7 @@ typedef enum { FLATPAK_SPAWN_FLAGS_NOTIFY_START = 1 << 6, FLATPAK_SPAWN_FLAGS_SHARE_PIDS = 1 << 7, FLATPAK_SPAWN_FLAGS_EMPTY_APP = 1 << 8, + FLATPAK_SPAWN_FLAGS_NONE = 0 } FlatpakSpawnFlags; typedef enum { @@ -44,11 +45,13 @@ typedef enum { FLATPAK_SPAWN_SANDBOX_FLAGS_SHARE_GPU = 1 << 2, FLATPAK_SPAWN_SANDBOX_FLAGS_ALLOW_DBUS = 1 << 3, FLATPAK_SPAWN_SANDBOX_FLAGS_ALLOW_A11Y = 1 << 4, + FLATPAK_SPAWN_SANDBOX_FLAGS_NONE = 0 } FlatpakSpawnSandboxFlags; typedef enum { FLATPAK_SPAWN_SUPPORT_FLAGS_EXPOSE_PIDS = 1 << 0, + FLATPAK_SPAWN_SUPPORT_FLAGS_NONE = 0 } FlatpakSpawnSupportFlags; /* The same flag is reused: this feature is available under the same |