~ubuntu-branches/ubuntu/wily/telepathy-glib/wily

« back to all changes in this revision

Viewing changes to spec/Properties_Interface.xml

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2009-03-24 22:06:52 UTC
  • mfrom: (1.3.1 upstream) (17.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20090324220652-c8dvom0nsqomp23d
Tags: 0.7.28-1
* New upstream version (ABI, API added)
* Put the -dbg package in section debug, as per recent archive changes
* Remove obsolete Conflicts/Replaces with libtelepathy-glib-static-dev, which
  was never in a stable release (and probably never in Debian at all)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
        flags) representing a property, as returned by ListProperties on the
26
26
        Properties interface.</tp:docstring>
27
27
      <tp:member type="u" name="Property_ID"/>
28
 
      <tp:member type="s" name="name"/>
29
 
      <tp:member type="s" tp:type="DBus_Signature" name="signature"/>
 
28
      <tp:member type="s" name="Name"/>
 
29
      <tp:member type="s" tp:type="DBus_Signature" name="Signature"/>
30
30
      <tp:member type="u" tp:type="Property_Flags" name="Flags"/>
31
31
    </tp:struct>
32
32
 
39
39
      <tp:member type="u" name="New_Flags"/>
40
40
    </tp:struct>
41
41
 
42
 
    <tp:simple-type name="Property_ID" type="u">
 
42
    <tp:simple-type name="Property_ID" type="u" array-name="Property_ID_List">
43
43
      <tp:docstring>
44
44
        An unsigned integer used to represent a Telepathy property.
45
45
      </tp:docstring>
54
54
      <tp:member type="v" name="Value"/>
55
55
    </tp:struct>
56
56
 
57
 
    <method name="GetProperties">
 
57
    <method name="GetProperties" tp:name-for-bindings="Get_Properties">
58
58
      <tp:docstring>
59
59
        Returns an array of (identifier, value) pairs containing the current
60
60
        values of the given properties.
61
61
      </tp:docstring>
62
 
      <arg direction="in" name="properties" type="au" tp:type="Property_ID[]">
 
62
      <arg direction="in" name="Properties" type="au" tp:type="Property_ID[]">
63
63
        <tp:docstring>An array of property identifiers</tp:docstring>
64
64
      </arg>
65
 
      <arg direction="out" type="a(uv)" tp:type="Property_Value[]">
 
65
      <arg direction="out" type="a(uv)" tp:type="Property_Value[]"
 
66
        name="Values">
66
67
        <!-- XXX: if we're ever breaking API compatibility, make this a{uv} -->
67
68
        <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
68
69
          <p>An array of structs containing:</p>
86
87
        </tp:error>
87
88
      </tp:possible-errors>
88
89
    </method>
89
 
    <method name="ListProperties">
 
90
    <method name="ListProperties" tp:name-for-bindings="List_Properties">
90
91
      <tp:docstring>
91
92
        Returns a dictionary of the properties available on this channel.
92
93
      </tp:docstring>
93
 
      <arg direction="out" type="a(ussu)" tp:type="Property_Spec[]">
 
94
      <arg direction="out" type="a(ussu)" tp:type="Property_Spec[]"
 
95
        name="Available_Properties">
94
96
        <!-- XXX: if we're ever breaking API compatibility, make this
95
97
        a{u(ssu)} ? -->
96
98
        <tp:docstring>
104
106
        </tp:docstring>
105
107
      </arg>
106
108
    </method>
107
 
    <signal name="PropertiesChanged">
 
109
    <signal name="PropertiesChanged" tp:name-for-bindings="Properties_Changed">
108
110
      <tp:docstring>
109
111
        Emitted when the value of readable properties has changed.
110
112
      </tp:docstring>
111
 
      <arg name="properties" type="a(uv)" tp:type="Property_Value[]">
 
113
      <arg name="Properties" type="a(uv)" tp:type="Property_Value[]">
112
114
        <!-- XXX: if we're ever breaking API compatibility, make this a{uv} -->
113
115
        <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
114
116
          <p>An array of structs containing:</p>
121
123
        </tp:docstring>
122
124
      </arg>
123
125
    </signal>
124
 
    <signal name="PropertyFlagsChanged">
 
126
    <signal name="PropertyFlagsChanged"
 
127
      tp:name-for-bindings="Property_Flags_Changed">
125
128
      <tp:docstring>
126
129
        Emitted when the flags of some room properties have changed.
127
130
      </tp:docstring>
128
 
      <arg name="properties" type="a(uu)" tp:type="Property_Flags_Change[]">
 
131
      <arg name="Properties" type="a(uu)" tp:type="Property_Flags_Change[]">
129
132
        <!-- XXX: if we're ever breaking API compatibility, make this a{uu} -->
130
133
        <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
131
134
          <p>An array of structs containing:</p>
138
141
        </tp:docstring>
139
142
      </arg>
140
143
    </signal>
141
 
    <method name="SetProperties">
 
144
    <method name="SetProperties" tp:name-for-bindings="Set_Properties">
142
145
      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
143
146
        <p>Takes an array of (identifier, value) pairs containing desired
144
147
          values to set the given properties. In the case of any errors, no
151
154
        are invalid, InvalidArgument will be returned.</p>
152
155
      </tp:docstring>
153
156
 
154
 
      <arg direction="in" name="properties" type="a(uv)"
 
157
      <arg direction="in" name="Properties" type="a(uv)"
155
158
        tp:type="Property_Value[]">
156
159
        <!-- XXX: if we're ever breaking API compatibility, make this a{uv} -->
157
160
      <tp:docstring>