summaryrefslogtreecommitdiff
path: root/spec/generic-types.xml
blob: f134d7c5a9eac65f4e8f45d0ded5c80def00d043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<tp:generic-types
  xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">

  <tp:simple-type name="Unix_Timestamp" type="u">
    <tp:docstring>An unsigned 32-bit integer representing time since 1970</tp:docstring>
  </tp:simple-type>

  <tp:simple-type name="Handle" type="u">
    <tp:docstring>An unsigned 32-bit integer representing a handle</tp:docstring>
  </tp:simple-type>

  <tp:simple-type name="Contact_Handle" type="u">
    <tp:docstring>An unsigned 32-bit integer representing a handle of type
      Handle_Type_Contact</tp:docstring>
  </tp:simple-type>

  <tp:simple-type name="Room_Handle" type="u">
    <tp:docstring>An unsigned 32-bit integer representing a handle of type
      Handle_Type_Room</tp:docstring>
  </tp:simple-type>

  <tp:simple-type name="List_Handle" type="u">
    <tp:docstring>An unsigned 32-bit integer representing a handle of type
      Handle_Type_List</tp:docstring>
  </tp:simple-type>

  <tp:simple-type name="Group_Handle" type="u">
    <tp:docstring>An unsigned 32-bit integer representing a handle of type
      Handle_Type_Group</tp:docstring>
  </tp:simple-type>

  <tp:simple-type name="DBus_Bus_Name" type="s">
    <tp:docstring>A string representing a D-Bus bus name - either a well-known
      name like "org.freedesktop.Telepathy.MissionControl" or a unique name
      like ":1.123"</tp:docstring>
  </tp:simple-type>

  <tp:simple-type name="DBus_Unique_Name" type="s">
    <tp:docstring>A string representing a D-Bus unique name, such as
      ":1.123"</tp:docstring>
  </tp:simple-type>

  <tp:simple-type name="DBus_Interface" type="s">
    <tp:docstring>A string representing a D-Bus interface</tp:docstring>
  </tp:simple-type>

  <tp:simple-type name="DBus_Signature" type="s">
    <tp:docstring>A string representing a D-Bus signature
      (the 'g' type isn't used because of poor interoperability, particularly
      with dbus-glib)</tp:docstring>
  </tp:simple-type>

  <tp:mapping name="String_Variant_Map">
    <tp:docstring>A mapping from strings to variants representing extra
      key-value pairs.</tp:docstring>
    <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>
    <tp:member type="s" name="Key"/>
    <tp:member type="s" name="Value"/>
  </tp:mapping>

</tp:generic-types>