diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-07-10 16:46:27 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-07-10 16:56:39 +0200 |
commit | 929071ad1083494f717f6a5ab6dfcf817d143700 (patch) | |
tree | 0f01ac260bc5fe087bb478582f27cd6da832bbed /document-portal/xdp-enums.h | |
parent | b0e1124f0262d9d4cbfe9c6715eae3a3dcfb4875 (diff) | |
download | xdg-app-929071ad1083494f717f6a5ab6dfcf817d143700.tar.gz |
Import xdg-document-portal from github repo
This pulls in the daemon code from:
https://github.com/alexlarsson/xdg-document-portal/
We need this in xdg-app because we need to set up the mounts correctly.
Diffstat (limited to 'document-portal/xdp-enums.h')
-rw-r--r-- | document-portal/xdp-enums.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/document-portal/xdp-enums.h b/document-portal/xdp-enums.h new file mode 100644 index 0000000..4169fab --- /dev/null +++ b/document-portal/xdp-enums.h @@ -0,0 +1,17 @@ +#ifndef XDP_ENUMS_H +#define XDP_ENUMS_H + +G_BEGIN_DECLS + +typedef enum { + XDP_PERMISSION_FLAGS_READ = (1<<0), + XDP_PERMISSION_FLAGS_WRITE = (1<<1), + XDP_PERMISSION_FLAGS_GRANT_PERMISSIONS = (1<<2), + XDP_PERMISSION_FLAGS_DELETE = (1<<3), + + XDP_PERMISSION_FLAGS_ALL = ((1<<4) - 1) +} XdpPermissionFlags; + +G_END_DECLS + +#endif /* XDP_ENUMS_H */ |