dbus: use the annotations for documentation
[NetworkManager.git] / introspection / generic-types.xml
index 681b666..2fb680a 100644 (file)
@@ -1,50 +1,50 @@
 <tp:generic-types
   xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
   <tp:mapping name="String_Variant_Map">
-    <tp:docstring>A mapping from strings to variants representing extra
-      key-value pairs.</tp:docstring>
+    <annotation name="org.gtk.GDBus.DocString" value="A mapping from strings to variants representing extra
+      key-value pairs." />
     <tp:member type="s" name="Key"/>
     <tp:member type="v" name="Value"/>
   </tp:mapping>
 
   <tp:mapping name="String_String_Map">
-    <tp:docstring>A mapping from strings to strings representing extra
-      key-value pairs.</tp:docstring>
+    <annotation name="org.gtk.GDBus.DocString" value="A mapping from strings to strings representing extra
+      key-value pairs." />
     <tp:member type="s" name="Key"/>
     <tp:member type="s" name="Value"/>
   </tp:mapping>
 
   <tp:mapping name="String_String_Variant_Map_Map">
-      <tp:docstring>A mapping from strings to a map of string to variant.</tp:docstring>
+      <annotation name="org.gtk.GDBus.DocString" value="A mapping from strings to a map of string to variant." />
       <tp:member type="s" name="Key"/>
       <tp:member type="a{sv}" name="Value" tp:type="String_Variant_Map"/>
   </tp:mapping>
 
   <tp:enum name="NM_802_11_MODE" type="u">
-    <tp:docstring></tp:docstring>
+    <annotation name="org.gtk.GDBus.DocString" value="" />
     <tp:enumvalue suffix="UNKNOWN" value="0">
-      <tp:docstring>Mode is unknown.</tp:docstring>
+      <annotation name="org.gtk.GDBus.DocString" value="Mode is unknown." />
     </tp:enumvalue>
     <tp:enumvalue suffix="ADHOC" value="1">
-      <tp:docstring>
+      <annotation name="org.gtk.GDBus.DocString" value="
         For both devices and access point objects, indicates the object is
         part of an Ad-Hoc 802.11 network without a central coordinating access
         point.
-      </tp:docstring>
+      " />
     </tp:enumvalue>
     <tp:enumvalue suffix="INFRA" value="2">
-      <tp:docstring>
+      <annotation name="org.gtk.GDBus.DocString" value="
         The wireless device or access point is in infrastructure mode.  For
         devices, this indicates the device is an 802.11 client/station.  For
         access point objects, this indicates the object is an access point that
         provides connectivity to clients.
-      </tp:docstring>
+      " />
     </tp:enumvalue>
     <tp:enumvalue suffix="AP" value="3">
-      <tp:docstring>
+      <annotation name="org.gtk.GDBus.DocString" value="
         The device is an access point/hotspot.  Not valid for access point
         objects themselves.
-      </tp:docstring>
+      " />
     </tp:enumvalue>
   </tp:enum>
 </tp:generic-types>