37
31
<h2><span class="refentrytitle"><a name="GoaDocuments.top_of_page"></a>GoaDocuments</span></h2>
38
32
<p>GoaDocuments — Generated C code for the org.gnome.OnlineAccounts.Documents D-Bus interface</p>
40
<td valign="top" align="right"></td>
34
<td class="gallery_image" valign="top" align="right"></td>
41
35
</tr></table></div>
42
<div class="refsynopsisdiv">
43
<a name="GoaDocuments.synopsis"></a><h2>Synopsis</h2>
44
<pre class="synopsis"> <a class="link" href="GoaDocuments.html#GoaDocuments-struct" title="GoaDocuments">GoaDocuments</a>;
45
struct <a class="link" href="GoaDocuments.html#GoaDocumentsIface" title="struct GoaDocumentsIface">GoaDocumentsIface</a>;
46
<span class="returnvalue">GDBusInterfaceInfo</span> * <a class="link" href="GoaDocuments.html#goa-documents-interface-info" title="goa_documents_interface_info ()">goa_documents_interface_info</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
47
<span class="returnvalue">guint</span> <a class="link" href="GoaDocuments.html#goa-documents-override-properties" title="goa_documents_override_properties ()">goa_documents_override_properties</a> (<em class="parameter"><code><span class="type">GObjectClass</span> *klass</code></em>,
48
<em class="parameter"><code><span class="type">guint</span> property_id_begin</code></em>);
49
struct <a class="link" href="GoaDocuments.html#GoaDocumentsProxy" title="struct GoaDocumentsProxy">GoaDocumentsProxy</a>;
50
struct <a class="link" href="GoaDocuments.html#GoaDocumentsProxyClass" title="struct GoaDocumentsProxyClass">GoaDocumentsProxyClass</a>;
51
<span class="returnvalue">void</span> <a class="link" href="GoaDocuments.html#goa-documents-proxy-new" title="goa_documents_proxy_new ()">goa_documents_proxy_new</a> (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
52
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
53
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
54
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
55
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
56
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
57
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
58
<a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> * <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-finish" title="goa_documents_proxy_new_finish ()">goa_documents_proxy_new_finish</a> (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
59
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
60
<a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> * <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-sync" title="goa_documents_proxy_new_sync ()">goa_documents_proxy_new_sync</a> (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
61
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
62
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
63
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
64
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
65
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
66
<span class="returnvalue">void</span> <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus" title="goa_documents_proxy_new_for_bus ()">goa_documents_proxy_new_for_bus</a> (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
67
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
68
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
69
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
70
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
71
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
72
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
73
<a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> * <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus-finish" title="goa_documents_proxy_new_for_bus_finish ()">goa_documents_proxy_new_for_bus_finish</a>
74
(<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
75
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
76
<a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> * <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus-sync" title="goa_documents_proxy_new_for_bus_sync ()">goa_documents_proxy_new_for_bus_sync</a>
77
(<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
78
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
79
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
80
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
81
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
82
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
83
struct <a class="link" href="GoaDocuments.html#GoaDocumentsSkeleton" title="struct GoaDocumentsSkeleton">GoaDocumentsSkeleton</a>;
84
struct <a class="link" href="GoaDocuments.html#GoaDocumentsSkeletonClass" title="struct GoaDocumentsSkeletonClass">GoaDocumentsSkeletonClass</a>;
85
<a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> * <a class="link" href="GoaDocuments.html#goa-documents-skeleton-new" title="goa_documents_skeleton_new ()">goa_documents_skeleton_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
36
<div class="refsect1">
37
<a name="GoaDocuments.functions"></a><h2>Functions</h2>
38
<div class="informaltable"><table width="100%" border="0">
40
<col width="150px" class="functions_return">
41
<col class="functions_name">
45
<td class="function_type">
46
<a href="http://library.gnome.org/devel/gio/unstable/gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> *
48
<td class="function_name">
49
<a class="link" href="GoaDocuments.html#goa-documents-interface-info" title="goa_documents_interface_info ()">goa_documents_interface_info</a> <span class="c_punctuation">()</span>
53
<td class="function_type">
54
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
56
<td class="function_name">
57
<a class="link" href="GoaDocuments.html#goa-documents-override-properties" title="goa_documents_override_properties ()">goa_documents_override_properties</a> <span class="c_punctuation">()</span>
61
<td class="function_type">
62
<span class="returnvalue">void</span>
64
<td class="function_name">
65
<a class="link" href="GoaDocuments.html#goa-documents-proxy-new" title="goa_documents_proxy_new ()">goa_documents_proxy_new</a> <span class="c_punctuation">()</span>
69
<td class="function_type">
70
<a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> *
72
<td class="function_name">
73
<a class="link" href="GoaDocuments.html#goa-documents-proxy-new-finish" title="goa_documents_proxy_new_finish ()">goa_documents_proxy_new_finish</a> <span class="c_punctuation">()</span>
77
<td class="function_type">
78
<a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> *
80
<td class="function_name">
81
<a class="link" href="GoaDocuments.html#goa-documents-proxy-new-sync" title="goa_documents_proxy_new_sync ()">goa_documents_proxy_new_sync</a> <span class="c_punctuation">()</span>
85
<td class="function_type">
86
<span class="returnvalue">void</span>
88
<td class="function_name">
89
<a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus" title="goa_documents_proxy_new_for_bus ()">goa_documents_proxy_new_for_bus</a> <span class="c_punctuation">()</span>
93
<td class="function_type">
94
<a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> *
96
<td class="function_name">
97
<a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus-finish" title="goa_documents_proxy_new_for_bus_finish ()">goa_documents_proxy_new_for_bus_finish</a> <span class="c_punctuation">()</span>
101
<td class="function_type">
102
<a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> *
104
<td class="function_name">
105
<a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus-sync" title="goa_documents_proxy_new_for_bus_sync ()">goa_documents_proxy_new_for_bus_sync</a> <span class="c_punctuation">()</span>
109
<td class="function_type">
110
<a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> *
112
<td class="function_name">
113
<a class="link" href="GoaDocuments.html#goa-documents-skeleton-new" title="goa_documents_skeleton_new ()">goa_documents_skeleton_new</a> <span class="c_punctuation">()</span>
119
<div class="refsect1">
120
<a name="GoaDocuments.other"></a><h2>Types and Values</h2>
121
<div class="informaltable"><table width="100%" border="0">
123
<col width="150px" class="name">
124
<col class="description">
128
<td class="datatype_keyword"> </td>
129
<td class="function_name"><a class="link" href="GoaDocuments.html#GoaDocuments-struct" title="GoaDocuments">GoaDocuments</a></td>
132
<td class="datatype_keyword">struct</td>
133
<td class="function_name"><a class="link" href="GoaDocuments.html#GoaDocumentsIface" title="struct GoaDocumentsIface">GoaDocumentsIface</a></td>
136
<td class="datatype_keyword">struct</td>
137
<td class="function_name"><a class="link" href="GoaDocuments.html#GoaDocumentsProxy" title="struct GoaDocumentsProxy">GoaDocumentsProxy</a></td>
140
<td class="datatype_keyword">struct</td>
141
<td class="function_name"><a class="link" href="GoaDocuments.html#GoaDocumentsProxyClass" title="struct GoaDocumentsProxyClass">GoaDocumentsProxyClass</a></td>
144
<td class="datatype_keyword">struct</td>
145
<td class="function_name"><a class="link" href="GoaDocuments.html#GoaDocumentsSkeleton" title="struct GoaDocumentsSkeleton">GoaDocumentsSkeleton</a></td>
148
<td class="datatype_keyword">struct</td>
149
<td class="function_name"><a class="link" href="GoaDocuments.html#GoaDocumentsSkeletonClass" title="struct GoaDocumentsSkeletonClass">GoaDocumentsSkeletonClass</a></td>
88
154
<div class="refsect1">
89
155
<a name="GoaDocuments.object-hierarchy"></a><h2>Object Hierarchy</h2>
90
<pre class="synopsis">
156
<pre class="screen"> GInterface
157
<span class="lineart">╰──</span> GoaDocuments
95
160
<div class="refsect1">
96
161
<a name="GoaDocuments.prerequisites"></a><h2>Prerequisites</h2>
98
163
GoaDocuments requires
164
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>.</p>
101
166
<div class="refsect1">
102
167
<a name="GoaDocuments.description"></a><h2>Description</h2>
104
This section contains code for working with the <a class="link" href="gdbus-org.gnome.OnlineAccounts.Documents.html#gdbus-interface-org-gnome-OnlineAccounts-Documents.top_of_page">org.gnome.OnlineAccounts.Documents</a> D-Bus interface in C.
107
<div class="refsect1">
108
<a name="GoaDocuments.details"></a><h2>Details</h2>
168
<p>This section contains code for working with the <a class="link" href="gdbus-org.gnome.OnlineAccounts.Documents.html#gdbus-interface-org-gnome-OnlineAccounts-Documents.top_of_page">org.gnome.OnlineAccounts.Documents</a> D-Bus interface in C.</p>
170
<div class="refsect1">
171
<a name="GoaDocuments.functions_details"></a><h2>Functions</h2>
172
<div class="refsect2">
173
<a name="goa-documents-interface-info"></a><h3>goa_documents_interface_info ()</h3>
174
<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> *
175
goa_documents_interface_info (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
176
<p>Gets a machine-readable description of the <a class="link" href="gdbus-org.gnome.OnlineAccounts.Documents.html#gdbus-interface-org-gnome-OnlineAccounts-Documents.top_of_page">org.gnome.OnlineAccounts.Documents</a> D-Bus interface.</p>
177
<div class="refsect3">
178
<a name="id-1.4.5.13.8.2.5"></a><h4>Returns</h4>
179
<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>
180
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
184
<div class="refsect2">
185
<a name="goa-documents-override-properties"></a><h3>goa_documents_override_properties ()</h3>
186
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
187
goa_documents_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>,
188
<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>
189
<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="GoaDocuments.html" title="GoaDocuments"><span class="type">GoaDocuments</span></a> interface for a concrete class.
190
The properties are overridden in the order they are defined.</p>
191
<div class="refsect3">
192
<a name="id-1.4.5.13.8.3.5"></a><h4>Parameters</h4>
193
<div class="informaltable"><table width="100%" border="0">
195
<col width="150px" class="parameters_name">
196
<col class="parameters_description">
197
<col width="200px" class="parameters_annotations">
201
<td class="parameter_name"><p>klass</p></td>
202
<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>
203
<td class="parameter_annotations"> </td>
206
<td class="parameter_name"><p>property_id_begin</p></td>
207
<td class="parameter_description"><p>The property id to assign to the first overridden property.</p></td>
208
<td class="parameter_annotations"> </td>
213
<div class="refsect3">
214
<a name="id-1.4.5.13.8.3.6"></a><h4>Returns</h4>
215
<p> The last property id.</p>
220
<div class="refsect2">
221
<a name="goa-documents-proxy-new"></a><h3>goa_documents_proxy_new ()</h3>
222
<pre class="programlisting"><span class="returnvalue">void</span>
223
goa_documents_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>,
224
<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>,
225
<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>,
226
<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>,
227
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
228
<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>,
229
<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>
230
<p>Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Documents.html#gdbus-interface-org-gnome-OnlineAccounts-Documents.top_of_page">org.gnome.OnlineAccounts.Documents</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>
231
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
232
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.
233
You can then call <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-finish" title="goa_documents_proxy_new_finish ()"><code class="function">goa_documents_proxy_new_finish()</code></a> to get the result of the operation.</p>
234
<p>See <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-sync" title="goa_documents_proxy_new_sync ()"><code class="function">goa_documents_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
235
<div class="refsect3">
236
<a name="id-1.4.5.13.8.4.7"></a><h4>Parameters</h4>
237
<div class="informaltable"><table width="100%" border="0">
239
<col width="150px" class="parameters_name">
240
<col class="parameters_description">
241
<col width="200px" class="parameters_annotations">
245
<td class="parameter_name"><p>connection</p></td>
246
<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>
247
<td class="parameter_annotations"> </td>
250
<td class="parameter_name"><p>flags</p></td>
251
<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>
252
<td class="parameter_annotations"> </td>
255
<td class="parameter_name"><p>name</p></td>
256
<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>
257
is not a message bus connection. </p></td>
258
<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>
261
<td class="parameter_name"><p>object_path</p></td>
262
<td class="parameter_description"><p>An object path.</p></td>
263
<td class="parameter_annotations"> </td>
266
<td class="parameter_name"><p>cancellable</p></td>
267
<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>
268
<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>
271
<td class="parameter_name"><p>callback</p></td>
272
<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>
273
<td class="parameter_annotations"> </td>
276
<td class="parameter_name"><p>user_data</p></td>
277
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
279
<td class="parameter_annotations"> </td>
286
<div class="refsect2">
287
<a name="goa-documents-proxy-new-finish"></a><h3>goa_documents_proxy_new_finish ()</h3>
288
<pre class="programlisting"><a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> *
289
goa_documents_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>,
290
<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>
291
<p>Finishes an operation started with <a class="link" href="GoaDocuments.html#goa-documents-proxy-new" title="goa_documents_proxy_new ()"><code class="function">goa_documents_proxy_new()</code></a>.</p>
292
<div class="refsect3">
293
<a name="id-1.4.5.13.8.5.5"></a><h4>Parameters</h4>
294
<div class="informaltable"><table width="100%" border="0">
296
<col width="150px" class="parameters_name">
297
<col class="parameters_description">
298
<col width="200px" class="parameters_annotations">
302
<td class="parameter_name"><p>res</p></td>
303
<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="GoaDocuments.html#goa-documents-proxy-new" title="goa_documents_proxy_new ()"><code class="function">goa_documents_proxy_new()</code></a>.</p></td>
304
<td class="parameter_annotations"> </td>
307
<td class="parameter_name"><p>error</p></td>
308
<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>
309
<td class="parameter_annotations"> </td>
314
<div class="refsect3">
315
<a name="id-1.4.5.13.8.5.6"></a><h4>Returns</h4>
316
<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>
318
<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> GoaDocumentsProxy]</span></p>
322
<div class="refsect2">
323
<a name="goa-documents-proxy-new-sync"></a><h3>goa_documents_proxy_new_sync ()</h3>
324
<pre class="programlisting"><a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> *
325
goa_documents_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>,
326
<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>,
327
<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>,
328
<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>,
329
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
330
<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>
331
<p>Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Documents.html#gdbus-interface-org-gnome-OnlineAccounts-Documents.top_of_page">org.gnome.OnlineAccounts.Documents</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>
332
<p>The calling thread is blocked until a reply is received.</p>
333
<p>See <a class="link" href="GoaDocuments.html#goa-documents-proxy-new" title="goa_documents_proxy_new ()"><code class="function">goa_documents_proxy_new()</code></a> for the asynchronous version of this constructor.</p>
334
<div class="refsect3">
335
<a name="id-1.4.5.13.8.6.7"></a><h4>Parameters</h4>
336
<div class="informaltable"><table width="100%" border="0">
338
<col width="150px" class="parameters_name">
339
<col class="parameters_description">
340
<col width="200px" class="parameters_annotations">
344
<td class="parameter_name"><p>connection</p></td>
345
<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>
346
<td class="parameter_annotations"> </td>
349
<td class="parameter_name"><p>flags</p></td>
350
<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>
351
<td class="parameter_annotations"> </td>
354
<td class="parameter_name"><p>name</p></td>
355
<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>
356
is not a message bus connection. </p></td>
357
<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>
360
<td class="parameter_name"><p>object_path</p></td>
361
<td class="parameter_description"><p>An object path.</p></td>
362
<td class="parameter_annotations"> </td>
365
<td class="parameter_name"><p>cancellable</p></td>
366
<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>
367
<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>
370
<td class="parameter_name"><p>error</p></td>
371
<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>
372
<td class="parameter_annotations"> </td>
377
<div class="refsect3">
378
<a name="id-1.4.5.13.8.6.8"></a><h4>Returns</h4>
379
<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>
381
<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> GoaDocumentsProxy]</span></p>
385
<div class="refsect2">
386
<a name="goa-documents-proxy-new-for-bus"></a><h3>goa_documents_proxy_new_for_bus ()</h3>
387
<pre class="programlisting"><span class="returnvalue">void</span>
388
goa_documents_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>,
389
<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>,
390
<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>,
391
<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>,
392
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
393
<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>,
394
<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>
395
<p>Like <a class="link" href="GoaDocuments.html#goa-documents-proxy-new" title="goa_documents_proxy_new ()"><code class="function">goa_documents_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>
396
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
397
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.
398
You can then call <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus-finish" title="goa_documents_proxy_new_for_bus_finish ()"><code class="function">goa_documents_proxy_new_for_bus_finish()</code></a> to get the result of the operation.</p>
399
<p>See <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus-sync" title="goa_documents_proxy_new_for_bus_sync ()"><code class="function">goa_documents_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.</p>
400
<div class="refsect3">
401
<a name="id-1.4.5.13.8.7.7"></a><h4>Parameters</h4>
402
<div class="informaltable"><table width="100%" border="0">
404
<col width="150px" class="parameters_name">
405
<col class="parameters_description">
406
<col width="200px" class="parameters_annotations">
410
<td class="parameter_name"><p>bus_type</p></td>
411
<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>
412
<td class="parameter_annotations"> </td>
415
<td class="parameter_name"><p>flags</p></td>
416
<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>
417
<td class="parameter_annotations"> </td>
420
<td class="parameter_name"><p>name</p></td>
421
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
422
<td class="parameter_annotations"> </td>
425
<td class="parameter_name"><p>object_path</p></td>
426
<td class="parameter_description"><p>An object path.</p></td>
427
<td class="parameter_annotations"> </td>
430
<td class="parameter_name"><p>cancellable</p></td>
431
<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>
432
<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>
435
<td class="parameter_name"><p>callback</p></td>
436
<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>
437
<td class="parameter_annotations"> </td>
440
<td class="parameter_name"><p>user_data</p></td>
441
<td class="parameter_description"><p>User data to pass to <em class="parameter"><code>callback</code></em>
443
<td class="parameter_annotations"> </td>
450
<div class="refsect2">
451
<a name="goa-documents-proxy-new-for-bus-finish"></a><h3>goa_documents_proxy_new_for_bus_finish ()</h3>
452
<pre class="programlisting"><a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> *
453
goa_documents_proxy_new_for_bus_finish
454
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
455
<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>
456
<p>Finishes an operation started with <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus" title="goa_documents_proxy_new_for_bus ()"><code class="function">goa_documents_proxy_new_for_bus()</code></a>.</p>
457
<div class="refsect3">
458
<a name="id-1.4.5.13.8.8.5"></a><h4>Parameters</h4>
459
<div class="informaltable"><table width="100%" border="0">
461
<col width="150px" class="parameters_name">
462
<col class="parameters_description">
463
<col width="200px" class="parameters_annotations">
467
<td class="parameter_name"><p>res</p></td>
468
<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="GoaDocuments.html#goa-documents-proxy-new-for-bus" title="goa_documents_proxy_new_for_bus ()"><code class="function">goa_documents_proxy_new_for_bus()</code></a>.</p></td>
469
<td class="parameter_annotations"> </td>
472
<td class="parameter_name"><p>error</p></td>
473
<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>
474
<td class="parameter_annotations"> </td>
479
<div class="refsect3">
480
<a name="id-1.4.5.13.8.8.6"></a><h4>Returns</h4>
481
<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>
483
<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> GoaDocumentsProxy]</span></p>
487
<div class="refsect2">
488
<a name="goa-documents-proxy-new-for-bus-sync"></a><h3>goa_documents_proxy_new_for_bus_sync ()</h3>
489
<pre class="programlisting"><a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> *
490
goa_documents_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>,
491
<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>,
492
<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>,
493
<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>,
494
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
495
<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>
496
<p>Like <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-sync" title="goa_documents_proxy_new_sync ()"><code class="function">goa_documents_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>
497
<p>The calling thread is blocked until a reply is received.</p>
498
<p>See <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus" title="goa_documents_proxy_new_for_bus ()"><code class="function">goa_documents_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.</p>
499
<div class="refsect3">
500
<a name="id-1.4.5.13.8.9.7"></a><h4>Parameters</h4>
501
<div class="informaltable"><table width="100%" border="0">
503
<col width="150px" class="parameters_name">
504
<col class="parameters_description">
505
<col width="200px" class="parameters_annotations">
509
<td class="parameter_name"><p>bus_type</p></td>
510
<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>
511
<td class="parameter_annotations"> </td>
514
<td class="parameter_name"><p>flags</p></td>
515
<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>
516
<td class="parameter_annotations"> </td>
519
<td class="parameter_name"><p>name</p></td>
520
<td class="parameter_description"><p>A bus name (well-known or unique).</p></td>
521
<td class="parameter_annotations"> </td>
524
<td class="parameter_name"><p>object_path</p></td>
525
<td class="parameter_description"><p>An object path.</p></td>
526
<td class="parameter_annotations"> </td>
529
<td class="parameter_name"><p>cancellable</p></td>
530
<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>
531
<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>
534
<td class="parameter_name"><p>error</p></td>
535
<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>
536
<td class="parameter_annotations"> </td>
541
<div class="refsect3">
542
<a name="id-1.4.5.13.8.9.8"></a><h4>Returns</h4>
543
<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>
545
<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> GoaDocumentsProxy]</span></p>
549
<div class="refsect2">
550
<a name="goa-documents-skeleton-new"></a><h3>goa_documents_skeleton_new ()</h3>
551
<pre class="programlisting"><a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> *
552
goa_documents_skeleton_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
553
<p>Creates a skeleton object for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Documents.html#gdbus-interface-org-gnome-OnlineAccounts-Documents.top_of_page">org.gnome.OnlineAccounts.Documents</a>.</p>
554
<div class="refsect3">
555
<a name="id-1.4.5.13.8.10.5"></a><h4>Returns</h4>
556
<p> The skeleton object. </p>
557
<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> GoaDocumentsSkeleton]</span></p>
561
<div class="refsect1">
562
<a name="GoaDocuments.other_details"></a><h2>Types and Values</h2>
109
563
<div class="refsect2">
110
564
<a name="GoaDocuments-struct"></a><h3>GoaDocuments</h3>
111
565
<pre class="programlisting">typedef struct _GoaDocuments GoaDocuments;</pre>
113
Abstract interface type for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Documents.html#gdbus-interface-org-gnome-OnlineAccounts-Documents.top_of_page">org.gnome.OnlineAccounts.Documents</a>.
566
<p>Abstract interface type for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Documents.html#gdbus-interface-org-gnome-OnlineAccounts-Documents.top_of_page">org.gnome.OnlineAccounts.Documents</a>.</p>
117
569
<div class="refsect2">
200
604
GDBusProxyClass parent_class;
204
Class structure for <a class="link" href="GoaDocuments.html#GoaDocumentsProxy" title="struct GoaDocumentsProxy"><span class="type">GoaDocumentsProxy</span></a>.
206
<div class="variablelist"><table border="0" class="variablelist">
607
<p>Class structure for <a class="link" href="GoaDocuments.html#GoaDocumentsProxy" title="struct GoaDocumentsProxy"><span class="type">GoaDocumentsProxy</span></a>.</p>
608
<div class="refsect3">
609
<a name="id-1.4.5.13.9.5.5"></a><h4>Members</h4>
610
<div class="informaltable"><table width="100%" border="0">
208
<col align="left" valign="top">
612
<col width="300px" class="struct_members_name">
613
<col class="struct_members_description">
614
<col width="200px" class="struct_members_annotations">
212
<td><p><span class="term"><span class="type">GDBusProxyClass</span> <em class="structfield"><code><a name="GoaDocumentsProxyClass.parent-class"></a>parent_class</code></em>;</span></p></td>
213
<td>The parent class.</td>
617
<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="GoaDocumentsProxyClass.parent-class"></a>parent_class</code></em>;</p></td>
618
<td class="struct_member_description"><p>The parent class.</p></td>
619
<td class="struct_member_annotations"> </td>
218
<div class="refsect2">
219
<a name="goa-documents-proxy-new"></a><h3>goa_documents_proxy_new ()</h3>
220
<pre class="programlisting"><span class="returnvalue">void</span> goa_documents_proxy_new (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
221
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
222
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
223
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
224
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
225
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
226
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
228
Asynchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Documents.html#gdbus-interface-org-gnome-OnlineAccounts-Documents.top_of_page">org.gnome.OnlineAccounts.Documents</a>. See <code class="function">g_dbus_proxy_new()</code> for more details.
231
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.
232
You can then call <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-finish" title="goa_documents_proxy_new_finish ()"><code class="function">goa_documents_proxy_new_finish()</code></a> to get the result of the operation.
235
See <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-sync" title="goa_documents_proxy_new_sync ()"><code class="function">goa_documents_proxy_new_sync()</code></a> for the synchronous, blocking version of this constructor.
237
<div class="variablelist"><table border="0" class="variablelist">
239
<col align="left" valign="top">
244
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
245
<td>A <span class="type">GDBusConnection</span>.</td>
248
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
249
<td>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</td>
252
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
253
<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>
257
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
258
<td>An object path.</td>
261
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
262
<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>
266
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
267
<td>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</td>
270
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
271
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
277
<div class="refsect2">
278
<a name="goa-documents-proxy-new-finish"></a><h3>goa_documents_proxy_new_finish ()</h3>
279
<pre class="programlisting"><a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> * goa_documents_proxy_new_finish (<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
280
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
282
Finishes an operation started with <a class="link" href="GoaDocuments.html#goa-documents-proxy-new" title="goa_documents_proxy_new ()"><code class="function">goa_documents_proxy_new()</code></a>.
284
<div class="variablelist"><table border="0" class="variablelist">
286
<col align="left" valign="top">
291
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
292
<td>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="GoaDocuments.html#goa-documents-proxy-new" title="goa_documents_proxy_new ()"><code class="function">goa_documents_proxy_new()</code></a>.</td>
295
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
296
<td>Return location for error or <code class="literal">NULL</code>
300
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
301
<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> GoaDocumentsProxy]</span>
308
<div class="refsect2">
309
<a name="goa-documents-proxy-new-sync"></a><h3>goa_documents_proxy_new_sync ()</h3>
310
<pre class="programlisting"><a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> * goa_documents_proxy_new_sync (<em class="parameter"><code><span class="type">GDBusConnection</span> *connection</code></em>,
311
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
312
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
313
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
314
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
315
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
317
Synchronously creates a proxy for the D-Bus interface <a class="link" href="gdbus-org.gnome.OnlineAccounts.Documents.html#gdbus-interface-org-gnome-OnlineAccounts-Documents.top_of_page">org.gnome.OnlineAccounts.Documents</a>. See <code class="function">g_dbus_proxy_new_sync()</code> for more details.
320
The calling thread is blocked until a reply is received.
323
See <a class="link" href="GoaDocuments.html#goa-documents-proxy-new" title="goa_documents_proxy_new ()"><code class="function">goa_documents_proxy_new()</code></a> for the asynchronous version of this constructor.
325
<div class="variablelist"><table border="0" class="variablelist">
327
<col align="left" valign="top">
332
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
333
<td>A <span class="type">GDBusConnection</span>.</td>
336
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
337
<td>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</td>
340
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
341
<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>
345
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
346
<td>An object path.</td>
349
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
350
<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>
354
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
355
<td>Return location for error or <code class="literal">NULL</code>
359
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
360
<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> GoaDocumentsProxy]</span>
367
<div class="refsect2">
368
<a name="goa-documents-proxy-new-for-bus"></a><h3>goa_documents_proxy_new_for_bus ()</h3>
369
<pre class="programlisting"><span class="returnvalue">void</span> goa_documents_proxy_new_for_bus (<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
370
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
371
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
372
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
373
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
374
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
375
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
377
Like <a class="link" href="GoaDocuments.html#goa-documents-proxy-new" title="goa_documents_proxy_new ()"><code class="function">goa_documents_proxy_new()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.
380
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.
381
You can then call <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus-finish" title="goa_documents_proxy_new_for_bus_finish ()"><code class="function">goa_documents_proxy_new_for_bus_finish()</code></a> to get the result of the operation.
384
See <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus-sync" title="goa_documents_proxy_new_for_bus_sync ()"><code class="function">goa_documents_proxy_new_for_bus_sync()</code></a> for the synchronous, blocking version of this constructor.
386
<div class="variablelist"><table border="0" class="variablelist">
388
<col align="left" valign="top">
393
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
394
<td>A <span class="type">GBusType</span>.</td>
397
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
398
<td>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</td>
401
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
402
<td>A bus name (well-known or unique).</td>
405
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
406
<td>An object path.</td>
409
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
410
<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>
414
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
415
<td>A <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied.</td>
418
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
419
<td>User data to pass to <em class="parameter"><code>callback</code></em>.</td>
425
<div class="refsect2">
426
<a name="goa-documents-proxy-new-for-bus-finish"></a><h3>goa_documents_proxy_new_for_bus_finish ()</h3>
427
<pre class="programlisting"><a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> * goa_documents_proxy_new_for_bus_finish
428
(<em class="parameter"><code><span class="type">GAsyncResult</span> *res</code></em>,
429
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
431
Finishes an operation started with <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus" title="goa_documents_proxy_new_for_bus ()"><code class="function">goa_documents_proxy_new_for_bus()</code></a>.
433
<div class="variablelist"><table border="0" class="variablelist">
435
<col align="left" valign="top">
440
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
441
<td>The <span class="type">GAsyncResult</span> obtained from the <span class="type">GAsyncReadyCallback</span> passed to <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus" title="goa_documents_proxy_new_for_bus ()"><code class="function">goa_documents_proxy_new_for_bus()</code></a>.</td>
444
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
445
<td>Return location for error or <code class="literal">NULL</code>
449
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
450
<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> GoaDocumentsProxy]</span>
457
<div class="refsect2">
458
<a name="goa-documents-proxy-new-for-bus-sync"></a><h3>goa_documents_proxy_new_for_bus_sync ()</h3>
459
<pre class="programlisting"><a class="link" href="GoaDocuments.html" title="GoaDocuments"><span class="returnvalue">GoaDocuments</span></a> * goa_documents_proxy_new_for_bus_sync
460
(<em class="parameter"><code><span class="type">GBusType</span> bus_type</code></em>,
461
<em class="parameter"><code><span class="type">GDBusProxyFlags</span> flags</code></em>,
462
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
463
<em class="parameter"><code>const <span class="type">gchar</span> *object_path</code></em>,
464
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
465
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
467
Like <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-sync" title="goa_documents_proxy_new_sync ()"><code class="function">goa_documents_proxy_new_sync()</code></a> but takes a <span class="type">GBusType</span> instead of a <span class="type">GDBusConnection</span>.
470
The calling thread is blocked until a reply is received.
473
See <a class="link" href="GoaDocuments.html#goa-documents-proxy-new-for-bus" title="goa_documents_proxy_new_for_bus ()"><code class="function">goa_documents_proxy_new_for_bus()</code></a> for the asynchronous version of this constructor.
475
<div class="variablelist"><table border="0" class="variablelist">
477
<col align="left" valign="top">
482
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
483
<td>A <span class="type">GBusType</span>.</td>
486
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
487
<td>Flags from the <span class="type">GDBusProxyFlags</span> enumeration.</td>
490
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
491
<td>A bus name (well-known or unique).</td>
494
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
495
<td>An object path.</td>
498
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
499
<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>
503
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
504
<td>Return location for error or <code class="literal">NULL</code>
508
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
509
<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> GoaDocumentsProxy]</span>
516
625
<div class="refsect2">