summaryrefslogtreecommitdiff
path: root/data/org.freedesktop.PolicyKit1.Authority.xml
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2008-12-07 12:38:40 -0500
committerDavid Zeuthen <davidz@redhat.com>2008-12-07 12:38:40 -0500
commitc63cccdff7d0347c3dc2b777bdfe4e39e6a5e042 (patch)
tree9899c6e1329044da58739c3d65a0f35f63f498b6 /data/org.freedesktop.PolicyKit1.Authority.xml
parent40cca6955840389d0f0d2b16468d45286100b631 (diff)
downloadpolkit-c63cccdff7d0347c3dc2b777bdfe4e39e6a5e042.tar.gz
use eggdbus to generate the AuthorizationResult enumeration
Diffstat (limited to 'data/org.freedesktop.PolicyKit1.Authority.xml')
-rw-r--r--data/org.freedesktop.PolicyKit1.Authority.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/data/org.freedesktop.PolicyKit1.Authority.xml b/data/org.freedesktop.PolicyKit1.Authority.xml
index 19b2351..dcad356 100644
--- a/data/org.freedesktop.PolicyKit1.Authority.xml
+++ b/data/org.freedesktop.PolicyKit1.Authority.xml
@@ -7,7 +7,7 @@
<annotation name="org.gtk.EggDBus.Struct.Signature" value="(sa{sv})"/>
</annotation>
- <!-- The error domain used -->
+ <!-- The error domain used for reporting erros -->
<annotation name="org.gtk.EggDBus.DeclareErrorDomain" value="Error">
<annotation name="org.gtk.EggDBus.ErrorDomain.Member" value="org.freedesktop.PolicyKit1.Error.Failed">
<annotation name="org.gtk.EggDBus.DocString" value="The operation failed"/>
@@ -17,6 +17,20 @@
</annotation>
</annotation>
+ <!-- An enumeration for -->
+ <annotation name="org.gtk.EggDBus.DeclareEnum" value="AuthorizationResult">
+ <annotation name="org.gtk.EggDBus.Enum.Member" value="NotAuthorized">
+ <annotation name="org.gtk.EggDBus.DocString" value="The subject is not authorized for the specified action"/>
+ </annotation>
+ <annotation name="org.gtk.EggDBus.Enum.Member" value="Authorized">
+ <annotation name="org.gtk.EggDBus.DocString" value="The subject is authorized for the specified action"/>
+ </annotation>
+ <annotation name="org.gtk.EggDBus.Enum.Member" value="Challenge">
+ <annotation name="org.gtk.EggDBus.DocString" value="The subject is authorized if more information is provided"/>
+ </annotation>
+ </annotation>
+
+
<interface name="org.freedesktop.PolicyKit1.Authority">
<method name="SayHello">