Tizen 2.1 base
[platform/upstream/glib2.0.git] / gio / tests / gdbus-object-manager-example / gdbus-example-objectmanager.xml
1 <node>
2   <!-- org.gtk.GDBus.Example.ObjectManager.Animal:
3        @short_description: Example docs generated by gdbus-codegen
4        @since: 2.30
5
6        This D-Bus interface is used to describe a simple animal.
7     -->
8   <interface name="org.gtk.GDBus.Example.ObjectManager.Animal">
9     <!-- Mood: The mood of the animal.
10          @since: 2.30
11
12          Known values for this property include
13          <literal>Happy</literal> and <literal>Sad</literal>. Use the
14          org.gtk.GDBus.Example.ObjectManager.Animal.Poke() method to
15          change this property.
16
17          This property influences how often the animal jumps up and
18          down, see the
19          #org.gtk.GDBus.Example.ObjectManager.Animal::Jumped signal
20          for more details.
21     -->
22     <property name="Mood" type="s" access="read"/>
23
24     <!--
25         Poke:
26         @make_sad: Whether to make the animal sad.
27         @make_happy: Whether to make the animal happy.
28         @since: 2.30
29
30         Method used to changing the mood of the animal. See also the
31         #org.gtk.GDBus.Example.ObjectManager.Animal:Mood property.
32       -->
33     <method name="Poke">
34       <arg direction="in" type="b" name="make_sad"/>
35       <arg direction="in" type="b" name="make_happy"/>
36     </method>
37
38     <!--
39         Jumped:
40         @height: Height, in meters, that the animal jumped.
41         @since: 2.30
42
43         Emitted when the animal decides to jump.
44       -->
45     <signal name="Jumped">
46       <arg type="d" name="height"/>
47     </signal>
48   </interface>
49
50   <!-- org.gtk.GDBus.Example.ObjectManager.Cat:
51        @short_description: More example docs generated by gdbus-codegen
52
53        This D-Bus interface is used to describe a cat. Right now there
54        are no properties, methods or signals associated with this
55        interface so it is essentially a <ulink
56        url="http://en.wikipedia.org/wiki/Marker_interface_pattern">Marker
57        Interface</ulink>.
58
59        Note that D-Bus objects implementing this interface also
60        implement the #org.gtk.GDBus.Example.ObjectManager.Animal
61        interface.
62     -->
63   <interface name="org.gtk.GDBus.Example.ObjectManager.Cat">
64   </interface>
65 </node>