Blame gio/tests/gdbus-object-manager-example/gdbus-example-objectmanager.xml

Packit ae235b
<node>
Packit ae235b
  
Packit ae235b
       @short_description: Example docs generated by gdbus-codegen
Packit ae235b
       @since: 2.30
Packit ae235b
Packit ae235b
       This D-Bus interface is used to describe a simple animal.
Packit ae235b
    -->
Packit ae235b
  <interface name="org.gtk.GDBus.Example.ObjectManager.Animal">
Packit ae235b
    
Packit ae235b
         @since: 2.30
Packit ae235b
Packit ae235b
         Known values for this property include
Packit ae235b
         <literal>Happy</literal> and <literal>Sad</literal>. Use the
Packit ae235b
         org.gtk.GDBus.Example.ObjectManager.Animal.Poke() method to
Packit ae235b
         change this property.
Packit ae235b
Packit ae235b
         This property influences how often the animal jumps up and
Packit ae235b
         down, see the
Packit ae235b
         #org.gtk.GDBus.Example.ObjectManager.Animal::Jumped signal
Packit ae235b
         for more details.
Packit ae235b
    -->
Packit ae235b
    <property name="Mood" type="s" access="read"/>
Packit ae235b
Packit ae235b
    
Packit ae235b
        Poke:
Packit ae235b
        @make_sad: Whether to make the animal sad.
Packit ae235b
        @make_happy: Whether to make the animal happy.
Packit ae235b
        @since: 2.30
Packit ae235b
Packit ae235b
        Method used to changing the mood of the animal. See also the
Packit ae235b
        #org.gtk.GDBus.Example.ObjectManager.Animal:Mood property.
Packit ae235b
      -->
Packit ae235b
    <method name="Poke">
Packit ae235b
      <arg direction="in" type="b" name="make_sad"/>
Packit ae235b
      <arg direction="in" type="b" name="make_happy"/>
Packit ae235b
    </method>
Packit ae235b
Packit ae235b
    
Packit ae235b
        Jumped:
Packit ae235b
        @height: Height, in meters, that the animal jumped.
Packit ae235b
        @since: 2.30
Packit ae235b
Packit ae235b
        Emitted when the animal decides to jump.
Packit ae235b
      -->
Packit ae235b
    <signal name="Jumped">
Packit ae235b
      <arg type="d" name="height"/>
Packit ae235b
    </signal>
Packit ae235b
Packit ae235b
    
Packit ae235b
        Foo:
Packit ae235b
        Property with no <quote>since</quote> annotation (should inherit the 2.30 from its containing interface).
Packit ae235b
      -->
Packit ae235b
    <property name="Foo" type="s" access="read"/>
Packit ae235b
Packit ae235b
    
Packit ae235b
        Bar:
Packit ae235b
        @since: 2.36
Packit ae235b
        Property with a later <quote>since</quote> annotation.
Packit ae235b
      -->
Packit ae235b
    <property name="Bar" type="s" access="read"/>
Packit ae235b
  </interface>
Packit ae235b
Packit ae235b
  
Packit ae235b
       @short_description: More example docs generated by gdbus-codegen
Packit ae235b
Packit ae235b
       This D-Bus interface is used to describe a cat. Right now there
Packit ae235b
       are no properties, methods or signals associated with this
Packit ae235b
       interface so it is essentially a 
Packit ae235b
       url="http://en.wikipedia.org/wiki/Marker_interface_pattern">Marker
Packit ae235b
       Interface</ulink>.
Packit ae235b
Packit ae235b
       Note that D-Bus objects implementing this interface also
Packit ae235b
       implement the #org.gtk.GDBus.Example.ObjectManager.Animal
Packit ae235b
       interface.
Packit ae235b
    -->
Packit ae235b
  <interface name="org.gtk.GDBus.Example.ObjectManager.Cat">
Packit ae235b
  </interface>
Packit ae235b
</node>