41
33
<h2><span class="refentrytitle"><a name="GoaChat.top_of_page"></a>GoaChat</span></h2>
42
34
<p>GoaChat — Generated C code for the org.gnome.OnlineAccounts.Chat D-Bus interface</p>
44
<td valign="top" align="right"></td>
36
<td class="gallery_image" valign="top" align="right"></td>
45
37
</tr></table></div>
46
<div class="refsynopsisdiv">
47
<a name="GoaChat.synopsis"></a><h2>Synopsis</h2>
48
<a name="GoaChatProxy"></a><a name="GoaChatSkeleton"></a><pre class="synopsis"> <a class="link" href="GoaChat.html#GoaChat-struct" title="GoaChat">GoaChat</a>;
49
struct <a class="link" href="GoaChat.html#GoaChatIface" title="struct GoaChatIface">GoaChatIface</a>;
50
<span class="returnvalue">GDBusInterfaceInfo</span> * <a class="link" href="GoaChat.html#goa-chat-interface-info" title="goa_chat_interface_info ()">goa_chat_interface_info</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
51
<span class="returnvalue">guint</span> <a class="link" href="GoaChat.html#goa-chat-override-properties" title="goa_chat_override_properties ()">goa_chat_override_properties</a> (<em class="parameter"><code><span class="type">GObjectClass</span> *klass</code></em>,
52
<em class="parameter"><code><span class="type">guint</span> property_id_begin</code></em>);
53
struct <a class="link" href="GoaChat.html#GoaChatProxy-struct" title="struct GoaChatProxy">GoaChatProxy</a>;
54
struct <a class="link" href="GoaChat.html#GoaChatProxyClass" title="struct GoaChatProxyClass">GoaChatProxyClass</a>;
55
<span class="returnvalue">void</span> <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()">goa_chat_proxy_new</a> (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
56
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
57
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
58
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
59
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
60
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
61
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
62
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-finish" title="goa_chat_proxy_new_finish ()">goa_chat_proxy_new_finish</a> (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
63
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
64
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-sync" title="goa_chat_proxy_new_sync ()">goa_chat_proxy_new_sync</a> (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
65
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
66
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
67
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
68
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
69
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
70
<span class="returnvalue">void</span> <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus" title="goa_chat_proxy_new_for_bus ()">goa_chat_proxy_new_for_bus</a> (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
71
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
72
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
73
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
74
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
75
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
76
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
77
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-finish" title="goa_chat_proxy_new_for_bus_finish ()">goa_chat_proxy_new_for_bus_finish</a> (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
78
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
79
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-sync" title="goa_chat_proxy_new_for_bus_sync ()">goa_chat_proxy_new_for_bus_sync</a> (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
80
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
81
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
82
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
83
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
84
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
85
struct <a class="link" href="GoaChat.html#GoaChatSkeleton-struct" title="struct GoaChatSkeleton">GoaChatSkeleton</a>;
86
struct <a class="link" href="GoaChat.html#GoaChatSkeletonClass" title="struct GoaChatSkeletonClass">GoaChatSkeletonClass</a>;
87
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * <a class="link" href="GoaChat.html#goa-chat-skeleton-new" title="goa_chat_skeleton_new ()">goa_chat_skeleton_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
38
<div class="refsect1">
39
<a name="GoaChat.functions"></a><h2>Functions</h2>
40
<div class="informaltable"><table width="100%" border="0">
42
<col width="150px" class="functions_return">
43
<col class="functions_name">
47
<td class="function_type">
48
<a href="http://library.gnome.org/devel/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> *
50
<td class="function_name">
51
<a class="link" href="GoaChat.html#goa-chat-interface-info" title="goa_chat_interface_info ()">goa_chat_interface_info</a> <span class="c_punctuation">()</span>
55
<td class="function_type">
56
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
58
<td class="function_name">
59
<a class="link" href="GoaChat.html#goa-chat-override-properties" title="goa_chat_override_properties ()">goa_chat_override_properties</a> <span class="c_punctuation">()</span>
63
<td class="function_type">
64
<span class="returnvalue">void</span>
66
<td class="function_name">
67
<a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()">goa_chat_proxy_new</a> <span class="c_punctuation">()</span>
71
<td class="function_type">
72
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> *
74
<td class="function_name">
75
<a class="link" href="GoaChat.html#goa-chat-proxy-new-finish" title="goa_chat_proxy_new_finish ()">goa_chat_proxy_new_finish</a> <span class="c_punctuation">()</span>
79
<td class="function_type">
80
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> *
82
<td class="function_name">
83
<a class="link" href="GoaChat.html#goa-chat-proxy-new-sync" title="goa_chat_proxy_new_sync ()">goa_chat_proxy_new_sync</a> <span class="c_punctuation">()</span>
87
<td class="function_type">
88
<span class="returnvalue">void</span>
90
<td class="function_name">
91
<a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus" title="goa_chat_proxy_new_for_bus ()">goa_chat_proxy_new_for_bus</a> <span class="c_punctuation">()</span>
95
<td class="function_type">
96
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> *
98
<td class="function_name">
99
<a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-finish" title="goa_chat_proxy_new_for_bus_finish ()">goa_chat_proxy_new_for_bus_finish</a> <span class="c_punctuation">()</span>
103
<td class="function_type">
104
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> *
106
<td class="function_name">
107
<a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-sync" title="goa_chat_proxy_new_for_bus_sync ()">goa_chat_proxy_new_for_bus_sync</a> <span class="c_punctuation">()</span>
111
<td class="function_type">
112
<a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> *
114
<td class="function_name">
115
<a class="link" href="GoaChat.html#goa-chat-skeleton-new" title="goa_chat_skeleton_new ()">goa_chat_skeleton_new</a> <span class="c_punctuation">()</span>
121
<a name="GoaChatProxy"></a><a name="GoaChatSkeleton"></a><div class="refsect1">
122
<a name="GoaChat.other"></a><h2>Types and Values</h2>
123
<div class="informaltable"><table width="100%" border="0">
125
<col width="150px" class="name">
126
<col class="description">
130
<td class="datatype_keyword"> </td>
131
<td class="function_name"><a class="link" href="GoaChat.html#GoaChat-struct" title="GoaChat">GoaChat</a></td>
134
<td class="datatype_keyword">struct</td>
135
<td class="function_name"><a class="link" href="GoaChat.html#GoaChatIface" title="struct GoaChatIface">GoaChatIface</a></td>
138
<td class="datatype_keyword">struct</td>
139
<td class="function_name"><a class="link" href="GoaChat.html#GoaChatProxy-struct" title="struct GoaChatProxy">GoaChatProxy</a></td>
142
<td class="datatype_keyword">struct</td>
143
<td class="function_name"><a class="link" href="GoaChat.html#GoaChatProxyClass" title="struct GoaChatProxyClass">GoaChatProxyClass</a></td>
146
<td class="datatype_keyword">struct</td>
147
<td class="function_name"><a class="link" href="GoaChat.html#GoaChatSkeleton-struct" title="struct GoaChatSkeleton">GoaChatSkeleton</a></td>
150
<td class="datatype_keyword">struct</td>
151
<td class="function_name"><a class="link" href="GoaChat.html#GoaChatSkeletonClass" title="struct GoaChatSkeletonClass">GoaChatSkeletonClass</a></td>
90
156
<div class="refsect1">
91
157
<a name="GoaChat.object-hierarchy"></a><h2>Object Hierarchy</h2>
92
<pre class="synopsis">
96
<pre class="synopsis">
101
<pre class="synopsis">
103
+----GDBusInterfaceSkeleton
158
<pre class="screen"> GInterface
159
<span class="lineart">╰──</span> GoaChat
160
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
161
<span class="lineart">├──</span> <a href="http://library.gnome.org/devel/gio/unstable/GDBusInterfaceSkeleton.html">GDBusInterfaceSkeleton</a>
162
<span class="lineart">│</span> <span class="lineart">╰──</span> GoaChatSkeleton
163
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html">GDBusProxy</a>
164
<span class="lineart">╰──</span> GoaChatProxy
107
167
<div class="refsect1">
108
168
<a name="GoaChat.prerequisites"></a><h2>Prerequisites</h2>
171
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
113
173
<div class="refsect1">
114
174
<a name="GoaChat.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
116
176
GoaChatProxy implements
117
GDBusInterface, GInitable, GAsyncInitable and <a class="link" href="GoaChat.html" title="GoaChat">GoaChat</a>.</p>
177
<a href="http://library.gnome.org/devel/gio/unstable/GDBusInterface.html">GDBusInterface</a>, <a href="http://library.gnome.org/devel/gio/unstable/GInitable.html">GInitable</a>, <a href="http://library.gnome.org/devel/gio/unstable/GAsyncInitable.html">GAsyncInitable</a> and <a class="link" href="GoaChat.html" title="GoaChat">GoaChat</a>.</p>
119
179
GoaChatSkeleton implements
120
GDBusInterface and <a class="link" href="GoaChat.html" title="GoaChat">GoaChat</a>.</p>
180
<a href="http://library.gnome.org/devel/gio/unstable/GDBusInterface.html">GDBusInterface</a> and <a class="link" href="GoaChat.html" title="GoaChat">GoaChat</a>.</p>
122
182
<div class="refsect1">
123
183
<a name="GoaChat.implementations"></a><h2>Known Implementations</h2>
128
188
<div class="refsect1">
129
189
<a name="GoaChat.description"></a><h2>Description</h2>
131
This section contains code for working with the <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a> D-Bus interface in C.
134
<div class="refsect1">
135
<a name="GoaChat.details"></a><h2>Details</h2>
190
<p>This section contains code for working with the <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a> D-Bus interface in C.</p>
192
<div class="refsect1">
193
<a name="GoaChat.functions_details"></a><h2>Functions</h2>
194
<div class="refsect2">
195
<a name="goa-chat-interface-info"></a><h3>goa_chat_interface_info ()</h3>
196
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> *
197
goa_chat_interface_info (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
198
<p>Gets a machine-readable description of the <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a> D-Bus interface.</p>
199
<div class="refsect3">
200
<a name="id-1.4.5.12.12.2.5"></a><h4>Returns</h4>
201
<p> A <a href="http://library.gnome.org/devel/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a>. Do not free. </p>
202
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
206
<div class="refsect2">
207
<a name="goa-chat-override-properties"></a><h3>goa_chat_override_properties ()</h3>
208
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
209
goa_chat_override_properties (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *klass</code></em>,
210
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id_begin</code></em>);</pre>
211
<p>Overrides all <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> properties in the <a class="link" href="GoaChat.html" title="GoaChat"><span class="type">GoaChat</span></a> interface for a concrete class.
212
The properties are overridden in the order they are defined.</p>
213
<div class="refsect3">
214
<a name="id-1.4.5.12.12.3.5"></a><h4>Parameters</h4>
215
<div class="informaltable"><table width="100%" border="0">
217
<col width="150px" class="parameters_name">
218
<col class="parameters_description">
219
<col width="200px" class="parameters_annotations">
223
<td class="parameter_name"><p>klass</p></td>
224
<td class="parameter_description"><p>The class structure for a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>-derived class.</p></td>
225
<td class="parameter_annotations"> </td>
228
<td class="parameter_name"><p>property_id_begin</p></td>
229
<td class="parameter_description"><p>The property id to assign to the first overridden property.</p></td>
230
<td class="parameter_annotations"> </td>
235
<div class="refsect3">
236
<a name="id-1.4.5.12.12.3.6"></a><h4>Returns</h4>
237
<p> The last property id.</p>
242
<div class="refsect2">
243
<a name="goa-chat-proxy-new"></a><h3>goa_chat_proxy_new ()</h3>
244
<pre class="programlisting"><span class="returnvalue">void</span>
245
goa_chat_proxy_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
246
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
247
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
248
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
249
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
250
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
251
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
252
<p>Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a>. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new"><code class="function">g_dbus_proxy_new()</code></a> for more details.</p>
253
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
254
will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
255
You can then call <a class="link" href="GoaChat.html#goa-chat-proxy-new-finish" title="goa_chat_proxy_new_finish ()"><code class="function">goa_chat_proxy_new_finish()</code></a> to get the result of the operation.</p>
256
<p>See <a class="link" href="GoaChat.html#goa-chat-proxy-new-sync" title="goa_chat_proxy_new_sync ()"><code class="function">goa_chat_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
257
<div class="refsect3">
258
<a name="id-1.4.5.12.12.4.7"></a><h4>Parameters</h4>
259
<div class="informaltable"><table width="100%" border="0">
261
<col width="150px" class="parameters_name">
262
<col class="parameters_description">
263
<col width="200px" class="parameters_annotations">
267
<td class="parameter_name"><p>connection</p></td>
268
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p></td>
269
<td class="parameter_annotations"> </td>
272
<td class="parameter_name"><p>flags</p></td>
273
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
274
<td class="parameter_annotations"> </td>
277
<td class="parameter_name"><p>name</p></td>
278
<td class="parameter_description"><p> A bus name (well-known or unique) or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em>
279
is not a message bus connection. </p></td>
280
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
283
<td class="parameter_name"><p>object_path</p></td>
284
<td class="parameter_description"><p>An object path.</p></td>
285
<td class="parameter_annotations"> </td>
288
<td class="parameter_name"><p>cancellable</p></td>
289
<td class="parameter_description"><p> A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
290
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
293
<td class="parameter_name"><p>callback</p></td>
294
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.</p></td>
295
<td class="parameter_annotations"> </td>
298
<td class="parameter_name"><p>user_data</p></td>
299
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
301
<td class="parameter_annotations"> </td>
308
<div class="refsect2">
309
<a name="goa-chat-proxy-new-finish"></a><h3>goa_chat_proxy_new_finish ()</h3>
310
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> *
311
goa_chat_proxy_new_finish (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
312
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
313
<p>Finishes an operation started with <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()"><code class="function">goa_chat_proxy_new()</code></a>.</p>
314
<div class="refsect3">
315
<a name="id-1.4.5.12.12.5.5"></a><h4>Parameters</h4>
316
<div class="informaltable"><table width="100%" border="0">
318
<col width="150px" class="parameters_name">
319
<col class="parameters_description">
320
<col width="200px" class="parameters_annotations">
324
<td class="parameter_name"><p>res</p></td>
325
<td class="parameter_description"><p>The <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()"><code class="function">goa_chat_proxy_new()</code></a>.</p></td>
326
<td class="parameter_annotations"> </td>
329
<td class="parameter_name"><p>error</p></td>
330
<td class="parameter_description"><p>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
331
<td class="parameter_annotations"> </td>
336
<div class="refsect3">
337
<a name="id-1.4.5.12.12.5.6"></a><h4>Returns</h4>
338
<p> The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
340
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaChatProxy]</span></p>
344
<div class="refsect2">
345
<a name="goa-chat-proxy-new-sync"></a><h3>goa_chat_proxy_new_sync ()</h3>
346
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> *
347
goa_chat_proxy_new_sync (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
348
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
349
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
350
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
351
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
352
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
353
<p>Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a>. See <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#g-dbus-proxy-new-sync"><code class="function">g_dbus_proxy_new_sync()</code></a> for more details.</p>
354
<p>The calling thread is blocked until a reply is received.</p>
355
<p>See <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()"><code class="function">goa_chat_proxy_new()</code></a> for the asynchronous version of this constructor.</p>
356
<div class="refsect3">
357
<a name="id-1.4.5.12.12.6.7"></a><h4>Parameters</h4>
358
<div class="informaltable"><table width="100%" border="0">
360
<col width="150px" class="parameters_name">
361
<col class="parameters_description">
362
<col width="200px" class="parameters_annotations">
366
<td class="parameter_name"><p>connection</p></td>
367
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p></td>
368
<td class="parameter_annotations"> </td>
371
<td class="parameter_name"><p>flags</p></td>
372
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
373
<td class="parameter_annotations"> </td>
376
<td class="parameter_name"><p>name</p></td>
377
<td class="parameter_description"><p> A bus name (well-known or unique) or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em>
378
is not a message bus connection. </p></td>
379
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
382
<td class="parameter_name"><p>object_path</p></td>
383
<td class="parameter_description"><p>An object path.</p></td>
384
<td class="parameter_annotations"> </td>
387
<td class="parameter_name"><p>cancellable</p></td>
388
<td class="parameter_description"><p> A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
389
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
392
<td class="parameter_name"><p>error</p></td>
393
<td class="parameter_description"><p>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
394
<td class="parameter_annotations"> </td>
399
<div class="refsect3">
400
<a name="id-1.4.5.12.12.6.8"></a><h4>Returns</h4>
401
<p> The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
403
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaChatProxy]</span></p>
407
<div class="refsect2">
408
<a name="goa-chat-proxy-new-for-bus"></a><h3>goa_chat_proxy_new_for_bus ()</h3>
409
<pre class="programlisting"><span class="returnvalue">void</span>
410
goa_chat_proxy_new_for_bus (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
411
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
412
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
413
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
414
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
415
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
416
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
417
<p>Like <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()"><code class="function">goa_chat_proxy_new()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p>
418
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
419
will be invoked in the <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-context-push-thread-default">thread-default main loop</a> of the thread you are calling this method from.
420
You can then call <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-finish" title="goa_chat_proxy_new_for_bus_finish ()"><code class="function">goa_chat_proxy_new_for_bus_finish()</code></a> to get the result of the operation.</p>
421
<p>See <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-sync" title="goa_chat_proxy_new_for_bus_sync ()"><code class="function">goa_chat_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
422
<div class="refsect3">
423
<a name="id-1.4.5.12.12.7.7"></a><h4>Parameters</h4>
424
<div class="informaltable"><table width="100%" border="0">
426
<col width="150px" class="parameters_name">
427
<col class="parameters_description">
428
<col width="200px" class="parameters_annotations">
432
<td class="parameter_name"><p>bus_type</p></td>
433
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</p></td>
434
<td class="parameter_annotations"> </td>
437
<td class="parameter_name"><p>flags</p></td>
438
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
439
<td class="parameter_annotations"> </td>
442
<td class="parameter_name"><p>name</p></td>
443
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
444
<td class="parameter_annotations"> </td>
447
<td class="parameter_name"><p>object_path</p></td>
448
<td class="parameter_description"><p>An object path.</p></td>
449
<td class="parameter_annotations"> </td>
452
<td class="parameter_name"><p>cancellable</p></td>
453
<td class="parameter_description"><p> A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
454
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
457
<td class="parameter_name"><p>callback</p></td>
458
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied.</p></td>
459
<td class="parameter_annotations"> </td>
462
<td class="parameter_name"><p>user_data</p></td>
463
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
465
<td class="parameter_annotations"> </td>
472
<div class="refsect2">
473
<a name="goa-chat-proxy-new-for-bus-finish"></a><h3>goa_chat_proxy_new_for_bus_finish ()</h3>
474
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> *
475
goa_chat_proxy_new_for_bus_finish (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
476
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
477
<p>Finishes an operation started with <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus" title="goa_chat_proxy_new_for_bus ()"><code class="function">goa_chat_proxy_new_for_bus()</code></a>.</p>
478
<div class="refsect3">
479
<a name="id-1.4.5.12.12.8.5"></a><h4>Parameters</h4>
480
<div class="informaltable"><table width="100%" border="0">
482
<col width="150px" class="parameters_name">
483
<col class="parameters_description">
484
<col width="200px" class="parameters_annotations">
488
<td class="parameter_name"><p>res</p></td>
489
<td class="parameter_description"><p>The <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> obtained from the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus" title="goa_chat_proxy_new_for_bus ()"><code class="function">goa_chat_proxy_new_for_bus()</code></a>.</p></td>
490
<td class="parameter_annotations"> </td>
493
<td class="parameter_name"><p>error</p></td>
494
<td class="parameter_description"><p>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
495
<td class="parameter_annotations"> </td>
500
<div class="refsect3">
501
<a name="id-1.4.5.12.12.8.6"></a><h4>Returns</h4>
502
<p> The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
504
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaChatProxy]</span></p>
508
<div class="refsect2">
509
<a name="goa-chat-proxy-new-for-bus-sync"></a><h3>goa_chat_proxy_new_for_bus_sync ()</h3>
510
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> *
511
goa_chat_proxy_new_for_bus_sync (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
512
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
513
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
514
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
515
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
516
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
517
<p>Like <a class="link" href="GoaChat.html#goa-chat-proxy-new-sync" title="goa_chat_proxy_new_sync ()"><code class="function">goa_chat_proxy_new_sync()</code></a> but takes a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a> instead of a <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html"><span class="type">GDBusConnection</span></a>.</p>
518
<p>The calling thread is blocked until a reply is received.</p>
519
<p>See <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus" title="goa_chat_proxy_new_for_bus ()"><code class="function">goa_chat_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.</p>
520
<div class="refsect3">
521
<a name="id-1.4.5.12.12.9.7"></a><h4>Parameters</h4>
522
<div class="informaltable"><table width="100%" border="0">
524
<col width="150px" class="parameters_name">
525
<col class="parameters_description">
526
<col width="200px" class="parameters_annotations">
530
<td class="parameter_name"><p>bus_type</p></td>
531
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusConnection.html#GBusType"><span class="type">GBusType</span></a>.</p></td>
532
<td class="parameter_annotations"> </td>
535
<td class="parameter_name"><p>flags</p></td>
536
<td class="parameter_description"><p>Flags from the <a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.</p></td>
537
<td class="parameter_annotations"> </td>
540
<td class="parameter_name"><p>name</p></td>
541
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
542
<td class="parameter_annotations"> </td>
545
<td class="parameter_name"><p>object_path</p></td>
546
<td class="parameter_description"><p>An object path.</p></td>
547
<td class="parameter_annotations"> </td>
550
<td class="parameter_name"><p>cancellable</p></td>
551
<td class="parameter_description"><p> A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
552
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
555
<td class="parameter_name"><p>error</p></td>
556
<td class="parameter_description"><p>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
557
<td class="parameter_annotations"> </td>
562
<div class="refsect3">
563
<a name="id-1.4.5.12.12.9.8"></a><h4>Returns</h4>
564
<p> The constructed proxy object or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em>
566
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaChatProxy]</span></p>
570
<div class="refsect2">
571
<a name="goa-chat-skeleton-new"></a><h3>goa_chat_skeleton_new ()</h3>
572
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> *
573
goa_chat_skeleton_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
574
<p>Creates a skeleton object for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a>.</p>
575
<div class="refsect3">
576
<a name="id-1.4.5.12.12.10.5"></a><h4>Returns</h4>
577
<p> The skeleton object. </p>
578
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaChatSkeleton]</span></p>
582
<div class="refsect1">
583
<a name="GoaChat.other_details"></a><h2>Types and Values</h2>
136
584
<div class="refsect2">
137
585
<a name="GoaChat-struct"></a><h3>GoaChat</h3>
138
586
<pre class="programlisting">typedef struct _GoaChat GoaChat;</pre>
140
Abstract interface type for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a>.
587
<p>Abstract interface type for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a>.</p>
144
590
<div class="refsect2">
225
623
GDBusProxyClass parent_class;
229
Class structure for <a class="link" href="GoaChat.html#GoaChatProxy"><span class="type">GoaChatProxy</span></a>.
231
<div class="variablelist"><table border="0" class="variablelist">
626
<p>Class structure for <a class="link" href="GoaChat.html#GoaChatProxy"><span class="type">GoaChatProxy</span></a>.</p>
627
<div class="refsect3">
628
<a name="id-1.4.5.12.13.5.5"></a><h4>Members</h4>
629
<div class="informaltable"><table width="100%" border="0">
233
<col align="left" valign="top">
631
<col width="300px" class="struct_members_name">
632
<col class="struct_members_description">
633
<col width="200px" class="struct_members_annotations">
237
<td><p><span class="term"><span class="type">GDBusProxyClass</span> <em class="structfield"><code><a name="GoaChatProxyClass.parent-class"></a>parent_class</code></em>;</span></p></td>
238
<td>The parent class.</td>
636
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gio/unstable/GDBusProxy.html#GDBusProxyClass"><span class="type">GDBusProxyClass</span></a> <em class="structfield"><code><a name="GoaChatProxyClass.parent-class"></a>parent_class</code></em>;</p></td>
637
<td class="struct_member_description"><p>The parent class.</p></td>
638
<td class="struct_member_annotations"> </td>
243
<div class="refsect2">
244
<a name="goa-chat-proxy-new"></a><h3>goa_chat_proxy_new ()</h3>
245
<pre class="programlisting"><span class="returnvalue">void</span> goa_chat_proxy_new (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
246
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
247
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
248
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
249
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
250
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
251
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
253
Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a>. See <code class="function">g_dbus_proxy_new()</code> for more details.
256
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the thread-default main loop of the thread you are calling this method from.
257
You can then call <a class="link" href="GoaChat.html#goa-chat-proxy-new-finish" title="goa_chat_proxy_new_finish ()"><code class="function">goa_chat_proxy_new_finish()</code></a> to get the result of the operation.
260
See <a class="link" href="GoaChat.html#goa-chat-proxy-new-sync" title="goa_chat_proxy_new_sync ()"><code class="function">goa_chat_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.
262
<div class="variablelist"><table border="0" class="variablelist">
264
<col align="left" valign="top">
269
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
270
<td>A <span class="type">GDBusConnection</span>.</td>
273
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
274
<td>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</td>
277
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
278
<td>A bus name (well-known or unique) or <code class="literal">NULL</code> if <em class="parameter"><code>connection</code></em> is not a message bus connection. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
282
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
283
<td>An object path.</td>
286
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
287
<td>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
291
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
292
<td>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</td>
295
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
296
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
302
<div class="refsect2">
303
<a name="goa-chat-proxy-new-finish"></a><h3>goa_chat_proxy_new_finish ()</h3>
304
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * goa_chat_proxy_new_finish (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
305
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
307
Finishes an operation started with <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()"><code class="function">goa_chat_proxy_new()</code></a>.
309
<div class="variablelist"><table border="0" class="variablelist">
311
<col align="left" valign="top">
316
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
317
<td>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()"><code class="function">goa_chat_proxy_new()</code></a>.</td>
320
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
321
<td>Return location for error or <code class="literal">NULL</code>
325
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
326
<td>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaChatProxy]</span>
333
<div class="refsect2">
334
<a name="goa-chat-proxy-new-sync"></a><h3>goa_chat_proxy_new_sync ()</h3>
335
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * goa_chat_proxy_new_sync (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
336
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
337
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
338
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
339
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
340
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
342
Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Chat.html#gdbus-interface-org-gnome-OnlineAccounts-Chat.top_of_page">org.gnome.OnlineAccounts.Chat</a>. See <code class="function">g_dbus_proxy_new_sync()</code> for more details.
345
The calling thread is blocked until a reply is received.
348
See <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()"><code class="function">goa_chat_proxy_new()</code></a> for the asynchronous version of this constructor.
350
<div class="variablelist"><table border="0" class="variablelist">
352
<col align="left" valign="top">
357
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
358
<td>A <span class="type">GDBusConnection</span>.</td>
361
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
362
<td>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</td>
365
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
366
<td>A bus name (well-known or unique) or <code class="literal">NULL</code> if <em class="parameter"><code>connection</code></em> is not a message bus connection. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
370
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
371
<td>An object path.</td>
374
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
375
<td>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
379
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
380
<td>Return location for error or <code class="literal">NULL</code>
384
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
385
<td>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaChatProxy]</span>
392
<div class="refsect2">
393
<a name="goa-chat-proxy-new-for-bus"></a><h3>goa_chat_proxy_new_for_bus ()</h3>
394
<pre class="programlisting"><span class="returnvalue">void</span> goa_chat_proxy_new_for_bus (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
395
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
396
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
397
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
398
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
399
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
400
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
402
Like <a class="link" href="GoaChat.html#goa-chat-proxy-new" title="goa_chat_proxy_new ()"><code class="function">goa_chat_proxy_new()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.
405
When the operation is finished, <em class="parameter"><code>callback</code></em> will be invoked in the thread-default main loop of the thread you are calling this method from.
406
You can then call <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-finish" title="goa_chat_proxy_new_for_bus_finish ()"><code class="function">goa_chat_proxy_new_for_bus_finish()</code></a> to get the result of the operation.
409
See <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus-sync" title="goa_chat_proxy_new_for_bus_sync ()"><code class="function">goa_chat_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.
411
<div class="variablelist"><table border="0" class="variablelist">
413
<col align="left" valign="top">
418
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
419
<td>A <span class="type">GBusType</span>.</td>
422
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
423
<td>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</td>
426
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
427
<td>A bus name (well-known or unique).</td>
430
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
431
<td>An object path.</td>
434
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
435
<td>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
439
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
440
<td>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</td>
443
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
444
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
450
<div class="refsect2">
451
<a name="goa-chat-proxy-new-for-bus-finish"></a><h3>goa_chat_proxy_new_for_bus_finish ()</h3>
452
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * goa_chat_proxy_new_for_bus_finish (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
453
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
455
Finishes an operation started with <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus" title="goa_chat_proxy_new_for_bus ()"><code class="function">goa_chat_proxy_new_for_bus()</code></a>.
457
<div class="variablelist"><table border="0" class="variablelist">
459
<col align="left" valign="top">
464
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
465
<td>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus" title="goa_chat_proxy_new_for_bus ()"><code class="function">goa_chat_proxy_new_for_bus()</code></a>.</td>
468
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
469
<td>Return location for error or <code class="literal">NULL</code>
473
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
474
<td>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaChatProxy]</span>
481
<div class="refsect2">
482
<a name="goa-chat-proxy-new-for-bus-sync"></a><h3>goa_chat_proxy_new_for_bus_sync ()</h3>
483
<pre class="programlisting"><a class="link" href="GoaChat.html" title="GoaChat"><span class="returnvalue">GoaChat</span></a> * goa_chat_proxy_new_for_bus_sync (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
484
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
485
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
486
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
487
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
488
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
490
Like <a class="link" href="GoaChat.html#goa-chat-proxy-new-sync" title="goa_chat_proxy_new_sync ()"><code class="function">goa_chat_proxy_new_sync()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.
493
The calling thread is blocked until a reply is received.
496
See <a class="link" href="GoaChat.html#goa-chat-proxy-new-for-bus" title="goa_chat_proxy_new_for_bus ()"><code class="function">goa_chat_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.
498
<div class="variablelist"><table border="0" class="variablelist">
500
<col align="left" valign="top">
505
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
506
<td>A <span class="type">GBusType</span>.</td>
509
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
510
<td>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</td>
513
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
514
<td>A bus name (well-known or unique).</td>
517
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
518
<td>An object path.</td>
521
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
522
<td>A <span class="type">GCancellable</span> or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
526
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
527
<td>Return location for error or <code class="literal">NULL</code>
531
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
532
<td>The constructed proxy object or <code class="literal">NULL</code> if <em class="parameter"><code>error</code></em> is set. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GoaChatProxy]</span>
539
644
<div class="refsect2">
540
645
<a name="GoaChatSkeleton-struct"></a><h3>struct GoaChatSkeleton</h3>
541
646
<pre class="programlisting">struct GoaChatSkeleton;</pre>
543
The <a class="link" href="GoaChat.html#GoaChatSkeleton"><span class="type">GoaChatSkeleton</span></a> structure contains only private data and should only be accessed using the provided API.
647
<p>The <a class="link" href="GoaChat.html#GoaChatSkeleton"><span class="type">GoaChatSkeleton</span></a> structure contains only private data and should only be accessed using the provided API.</p>
547
650
<div class="refsect2">