org.freedesktop.PolicyKit1.Authority.xml 1.21 KB
Newer Older
David Zeuthen's avatar
David Zeuthen committed
1 2 3 4
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>

5 6 7 8 9 10 11 12 13 14 15 16 17
  <!-- User defined struct for Subjects -->
  <annotation name="org.gtk.EggDBus.DeclareStruct" value="Subject">
    <annotation name="org.gtk.EggDBus.Struct.Signature" value="(sa{sv})"/>
  </annotation>

  <!-- The error domain used -->
  <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"/>
    </annotation>
    <annotation name="org.gtk.EggDBus.ErrorDomain.Member" value="org.freedesktop.PolicyKit1.Error.NotSupported">
      <annotation name="org.gtk.EggDBus.DocString" value="Operation is not supported"/>
    </annotation>
David Zeuthen's avatar
David Zeuthen committed
18
  </annotation>
David Zeuthen's avatar
David Zeuthen committed
19 20 21 22 23 24 25 26

  <interface name="org.freedesktop.PolicyKit1.Authority">

    <method name="SayHello">
      <arg name="message" direction="in" type="s"/>
      <arg name="result" direction="out" type="s"/>
    </method>

David Zeuthen's avatar
David Zeuthen committed
27 28
    <method name="EnumerateUsers">
      <arg name="users" direction="out" type="a(sa{sv})"/>
David Zeuthen's avatar
David Zeuthen committed
29 30 31 32
    </method>

  </interface>
</node>