diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-05-09 14:07:22 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-09 14:07:22 +0200 |
commit | 28b549156ac26b183c07822a657e41d284075a0b (patch) | |
tree | 1957d3621daa6770acee6706661aa0cc1e550b25 /data | |
parent | 605b3f4e09f87e3bccb432e1e225d856e47bffaa (diff) | |
download | xdg-app-28b549156ac26b183c07822a657e41d284075a0b.tar.gz |
Split out permission store from session helper
This is now available as org.freedesktop.impl.portal.PermissionStore
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am.inc | 2 | ||||
-rw-r--r-- | data/org.freedesktop.Flatpak.xml | 51 | ||||
-rw-r--r-- | data/org.freedesktop.impl.portal.PermissionStore.xml | 78 |
3 files changed, 80 insertions, 51 deletions
diff --git a/data/Makefile.am.inc b/data/Makefile.am.inc index bf11ca4..71e514e 100644 --- a/data/Makefile.am.inc +++ b/data/Makefile.am.inc @@ -1,11 +1,13 @@ introspectiondir = $(datadir)/dbus-1/interfaces introspection_DATA = \ + data/org.freedesktop.impl.portal.PermissionStore.xml \ data/org.freedesktop.portal.Documents.xml \ data/org.freedesktop.Flatpak.xml \ $(NULL) EXTRA_DIST += \ data/org.freedesktop.portal.Documents.xml \ + data/org.freedesktop.impl.portal.PermissionStore.xml \ data/org.freedesktop.systemd1.xml \ data/org.freedesktop.Flatpak.xml \ $(NULL) diff --git a/data/org.freedesktop.Flatpak.xml b/data/org.freedesktop.Flatpak.xml index e9726c5..e91cda3 100644 --- a/data/org.freedesktop.Flatpak.xml +++ b/data/org.freedesktop.Flatpak.xml @@ -31,57 +31,6 @@ </method> </interface> - <interface name='org.freedesktop.Flatpak.PermissionStore'> - - <method name="Lookup"> - <arg name='table' type='s' direction='in'/> - <arg name='id' type='s' direction='in'/> - <arg name='permissions' type='a{sas}' direction='out'/> - <arg name='data' type='v' direction='out'/> - </method> - - <method name="Set"> - <arg name='table' type='s' direction='in'/> - <arg name='create' type='b' direction='in'/> - <arg name='id' type='s' direction='in'/> - <arg name='app_permissions' type='a{sas}' direction='in'/> - <arg name='data' type='v' direction='in'/> - </method> - - <method name="Delete"> - <arg name='table' type='s' direction='in'/> - <arg name='id' type='s' direction='in'/> - </method> - - <method name="SetValue"> - <arg name='table' type='s' direction='in'/> - <arg name='create' type='b' direction='in'/> - <arg name='id' type='s' direction='in'/> - <arg name='data' type='v' direction='in'/> - </method> - - <method name="SetPermission"> - <arg name='table' type='s' direction='in'/> - <arg name='create' type='b' direction='in'/> - <arg name='id' type='s' direction='in'/> - <arg name='app' type='s' direction='in'/> - <arg name='permissions' type='as' direction='in'/> - </method> - - <method name="List"> - <arg name='table' type='s' direction='in'/> - <arg name='ids' type='as' direction='out'/> - </method> - - <signal name="Changed"> - <arg name='table' type='s' direction='out'/> - <arg name='id' type='s' direction='out'/> - <arg name='deleted' type='b' direction='out'/> - <arg name='data' type='v' direction='out'/> - <arg name='permissions' type='a{sas}' direction='out'/> - </signal> - </interface> - <interface name='org.freedesktop.Flatpak.SystemHelper'> <method name="Deploy"> <arg type='ay' name='repo_path' direction='in'/> diff --git a/data/org.freedesktop.impl.portal.PermissionStore.xml b/data/org.freedesktop.impl.portal.PermissionStore.xml new file mode 100644 index 0000000..03aee31 --- /dev/null +++ b/data/org.freedesktop.impl.portal.PermissionStore.xml @@ -0,0 +1,78 @@ +<!DOCTYPE node PUBLIC +"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" +"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> + +<!-- + Copyright (C) 2015 Red Hat, Inc. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General + Public License along with this library; if not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + + Author: Alexander Larsson <alexl@redhat.com> +--> + +<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> + <interface name='org.freedesktop.impl.portal.PermissionStore'> + + <method name="Lookup"> + <arg name='table' type='s' direction='in'/> + <arg name='id' type='s' direction='in'/> + <arg name='permissions' type='a{sas}' direction='out'/> + <arg name='data' type='v' direction='out'/> + </method> + + <method name="Set"> + <arg name='table' type='s' direction='in'/> + <arg name='create' type='b' direction='in'/> + <arg name='id' type='s' direction='in'/> + <arg name='app_permissions' type='a{sas}' direction='in'/> + <arg name='data' type='v' direction='in'/> + </method> + + <method name="Delete"> + <arg name='table' type='s' direction='in'/> + <arg name='id' type='s' direction='in'/> + </method> + + <method name="SetValue"> + <arg name='table' type='s' direction='in'/> + <arg name='create' type='b' direction='in'/> + <arg name='id' type='s' direction='in'/> + <arg name='data' type='v' direction='in'/> + </method> + + <method name="SetPermission"> + <arg name='table' type='s' direction='in'/> + <arg name='create' type='b' direction='in'/> + <arg name='id' type='s' direction='in'/> + <arg name='app' type='s' direction='in'/> + <arg name='permissions' type='as' direction='in'/> + </method> + + <method name="List"> + <arg name='table' type='s' direction='in'/> + <arg name='ids' type='as' direction='out'/> + </method> + + <signal name="Changed"> + <arg name='table' type='s' direction='out'/> + <arg name='id' type='s' direction='out'/> + <arg name='deleted' type='b' direction='out'/> + <arg name='data' type='v' direction='out'/> + <arg name='permissions' type='a{sas}' direction='out'/> + </signal> + </interface> + +</node> |