dbus: use the annotations for documentation
[NetworkManager.git] / introspection / generic-types.xml
1 <tp:generic-types
2   xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
3   <tp:mapping name="String_Variant_Map">
4     <annotation name="org.gtk.GDBus.DocString" value="A mapping from strings to variants representing extra
5       key-value pairs." />
6     <tp:member type="s" name="Key"/>
7     <tp:member type="v" name="Value"/>
8   </tp:mapping>
9
10   <tp:mapping name="String_String_Map">
11     <annotation name="org.gtk.GDBus.DocString" value="A mapping from strings to strings representing extra
12       key-value pairs." />
13     <tp:member type="s" name="Key"/>
14     <tp:member type="s" name="Value"/>
15   </tp:mapping>
16
17   <tp:mapping name="String_String_Variant_Map_Map">
18       <annotation name="org.gtk.GDBus.DocString" value="A mapping from strings to a map of string to variant." />
19       <tp:member type="s" name="Key"/>
20       <tp:member type="a{sv}" name="Value" tp:type="String_Variant_Map"/>
21   </tp:mapping>
22
23   <tp:enum name="NM_802_11_MODE" type="u">
24     <annotation name="org.gtk.GDBus.DocString" value="" />
25     <tp:enumvalue suffix="UNKNOWN" value="0">
26       <annotation name="org.gtk.GDBus.DocString" value="Mode is unknown." />
27     </tp:enumvalue>
28     <tp:enumvalue suffix="ADHOC" value="1">
29       <annotation name="org.gtk.GDBus.DocString" value="
30         For both devices and access point objects, indicates the object is
31         part of an Ad-Hoc 802.11 network without a central coordinating access
32         point.
33       " />
34     </tp:enumvalue>
35     <tp:enumvalue suffix="INFRA" value="2">
36       <annotation name="org.gtk.GDBus.DocString" value="
37         The wireless device or access point is in infrastructure mode.  For
38         devices, this indicates the device is an 802.11 client/station.  For
39         access point objects, this indicates the object is an access point that
40         provides connectivity to clients.
41       " />
42     </tp:enumvalue>
43     <tp:enumvalue suffix="AP" value="3">
44       <annotation name="org.gtk.GDBus.DocString" value="
45         The device is an access point/hotspot.  Not valid for access point
46         objects themselves.
47       " />
48     </tp:enumvalue>
49   </tp:enum>
50 </tp:generic-types>