1
by Rodrigo Moya
Import upstream version 3.1.1 |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2 |
<html> |
|
3 |
<head> |
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
|
5 |
<title>GoaClient</title> |
|
0.4.3
by Michael Biebl
Import upstream version 3.8.2 |
6 |
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
7 |
<link rel="home" href="index.html" title="GNOME Online Accounts Reference Manual"> |
8 |
<link rel="up" href="ref-library.html" title="Part III. Client Library API Reference"> |
|
9 |
<link rel="prev" href="ref-library.html" title="Part III. Client Library API Reference"> |
|
10 |
<link rel="next" href="goa-GoaError.html" title="GoaError"> |
|
0.4.3
by Michael Biebl
Import upstream version 3.8.2 |
11 |
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
12 |
<link rel="stylesheet" href="style.css" type="text/css"> |
13 |
</head> |
|
14 |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
|
15 |
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> |
|
16 |
<tr valign="middle"> |
|
17 |
<td><a accesskey="p" href="ref-library.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> |
|
18 |
<td><a accesskey="u" href="ref-library.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> |
|
19 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> |
|
20 |
<th width="100%" align="center">GNOME Online Accounts Reference Manual</th> |
|
21 |
<td><a accesskey="n" href="goa-GoaError.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> |
|
22 |
</tr> |
|
23 |
<tr><td colspan="5" class="shortcuts"> |
|
24 |
<a href="#GoaClient.synopsis" class="shortcut">Top</a> |
|
25 |
| |
|
26 |
<a href="#GoaClient.description" class="shortcut">Description</a> |
|
27 |
| |
|
28 |
<a href="#GoaClient.object-hierarchy" class="shortcut">Object Hierarchy</a> |
|
29 |
| |
|
30 |
<a href="#GoaClient.implemented-interfaces" class="shortcut">Implemented Interfaces</a> |
|
31 |
| |
|
32 |
<a href="#GoaClient.properties" class="shortcut">Properties</a> |
|
33 |
| |
|
34 |
<a href="#GoaClient.signals" class="shortcut">Signals</a> |
|
35 |
</td></tr> |
|
36 |
</table> |
|
37 |
<div class="refentry"> |
|
38 |
<a name="GoaClient"></a><div class="titlepage"></div> |
|
39 |
<div class="refnamediv"><table width="100%"><tr> |
|
40 |
<td valign="top"> |
|
41 |
<h2><span class="refentrytitle"><a name="GoaClient.top_of_page"></a>GoaClient</span></h2> |
|
42 |
<p>GoaClient — Object for accessing account information</p> |
|
43 |
</td> |
|
44 |
<td valign="top" align="right"></td> |
|
45 |
</tr></table></div> |
|
46 |
<div class="refsynopsisdiv"> |
|
47 |
<a name="GoaClient.synopsis"></a><h2>Synopsis</h2> |
|
48 |
<pre class="synopsis"> <a class="link" href="GoaClient.html#GoaClient-struct" title="GoaClient">GoaClient</a>; |
|
49 |
<span class="returnvalue">void</span> <a class="link" href="GoaClient.html#goa-client-new" title="goa_client_new ()">goa_client_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
50 |
<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>, |
|
51 |
<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>); |
|
52 |
<a class="link" href="GoaClient.html" title="GoaClient"><span class="returnvalue">GoaClient</span></a> * <a class="link" href="GoaClient.html#goa-client-new-finish" title="goa_client_new_finish ()">goa_client_new_finish</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>, |
|
53 |
<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>); |
|
54 |
<a class="link" href="GoaClient.html" title="GoaClient"><span class="returnvalue">GoaClient</span></a> * <a class="link" href="GoaClient.html#goa-client-new-sync" title="goa_client_new_sync ()">goa_client_new_sync</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
55 |
<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>); |
|
56 |
<a class="link" href="GoaManager.html" title="GoaManager"><span class="returnvalue">GoaManager</span></a> * <a class="link" href="GoaClient.html#goa-client-get-manager" title="goa_client_get_manager ()">goa_client_get_manager</a> (<em class="parameter"><code><a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> *client</code></em>); |
|
57 |
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GoaClient.html#goa-client-get-accounts" title="goa_client_get_accounts ()">goa_client_get_accounts</a> (<em class="parameter"><code><a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> *client</code></em>); |
|
1.1.3
by Martin Pitt
Import upstream version 3.2.0 |
58 |
<a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="returnvalue">GDBusObjectManager</span></a> * <a class="link" href="GoaClient.html#goa-client-get-object-manager" title="goa_client_get_object_manager ()">goa_client_get_object_manager</a> (<em class="parameter"><code><a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> *client</code></em>); |
1.1.15
by Jeremy Bicha
Import upstream version 3.5.90 |
59 |
<a class="link" href="GoaObject.html" title="GoaObject"><span class="returnvalue">GoaObject</span></a> * <a class="link" href="GoaClient.html#goa-client-lookup-by-id" title="goa_client_lookup_by_id ()">goa_client_lookup_by_id</a> (<em class="parameter"><code><a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> *client</code></em>, |
60 |
<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> *id</code></em>); |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
61 |
</pre> |
62 |
</div> |
|
63 |
<div class="refsect1"> |
|
64 |
<a name="GoaClient.object-hierarchy"></a><h2>Object Hierarchy</h2> |
|
65 |
<pre class="synopsis"> |
|
66 |
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> |
|
67 |
+----GoaClient |
|
68 |
</pre> |
|
69 |
</div> |
|
70 |
<div class="refsect1"> |
|
71 |
<a name="GoaClient.implemented-interfaces"></a><h2>Implemented Interfaces</h2> |
|
72 |
<p> |
|
73 |
GoaClient implements |
|
74 |
<a href="http://library.gnome.org/devel/gio/unstable/GInitable.html">GInitable</a> and <a href="http://library.gnome.org/devel/gio/unstable/GAsyncInitable.html">GAsyncInitable</a>.</p> |
|
75 |
</div> |
|
76 |
<div class="refsect1"> |
|
77 |
<a name="GoaClient.properties"></a><h2>Properties</h2> |
|
78 |
<pre class="synopsis"> |
|
1.1.3
by Martin Pitt
Import upstream version 3.2.0 |
79 |
"<a class="link" href="GoaClient.html#GoaClient--object-manager" title='The "object-manager" property'>object-manager</a>" <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="type">GDBusObjectManager</span></a>* : Read |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
80 |
</pre> |
81 |
</div> |
|
82 |
<div class="refsect1"> |
|
83 |
<a name="GoaClient.signals"></a><h2>Signals</h2> |
|
84 |
<pre class="synopsis"> |
|
85 |
"<a class="link" href="GoaClient.html#GoaClient-account-added" title='The "account-added" signal'>account-added</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> |
|
86 |
"<a class="link" href="GoaClient.html#GoaClient-account-changed" title='The "account-changed" signal'>account-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> |
|
87 |
"<a class="link" href="GoaClient.html#GoaClient-account-removed" title='The "account-removed" signal'>account-removed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> |
|
88 |
</pre> |
|
89 |
</div> |
|
90 |
<div class="refsect1"> |
|
91 |
<a name="GoaClient.description"></a><h2>Description</h2> |
|
92 |
<p> |
|
93 |
<a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> is used for accessing the GNOME Online Accounts service |
|
94 |
from a client program. |
|
95 |
</p> |
|
96 |
</div> |
|
97 |
<div class="refsect1"> |
|
98 |
<a name="GoaClient.details"></a><h2>Details</h2> |
|
99 |
<div class="refsect2"> |
|
100 |
<a name="GoaClient-struct"></a><h3>GoaClient</h3> |
|
101 |
<pre class="programlisting">typedef struct _GoaClient GoaClient;</pre> |
|
102 |
<p> |
|
103 |
The <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> structure contains only private data and should |
|
104 |
only be accessed using the provided API. |
|
105 |
</p> |
|
106 |
</div> |
|
107 |
<hr> |
|
108 |
<div class="refsect2"> |
|
109 |
<a name="goa-client-new"></a><h3>goa_client_new ()</h3> |
|
110 |
<pre class="programlisting"><span class="returnvalue">void</span> goa_client_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
111 |
<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>, |
|
112 |
<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> |
|
113 |
<p> |
|
114 |
Asynchronously gets a <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a>. When the operation is |
|
115 |
finished, <em class="parameter"><code>callback</code></em> will be invoked in the <GTKDOCLINK HREF="g-main-context-push-thread-default">thread-default main |
|
116 |
loop</GTKDOCLINK> of the thread you are calling this method from. |
|
117 |
</p> |
|
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
118 |
<div class="variablelist"><table border="0" class="variablelist"> |
119 |
<colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
120 |
<col align="left" valign="top"> |
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
121 |
<col> |
122 |
</colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
123 |
<tbody> |
124 |
<tr> |
|
125 |
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td> |
|
1.1.5
by Didier Roche
Import upstream version 3.2.1 |
126 |
<td>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>.</td> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
127 |
</tr> |
128 |
<tr> |
|
129 |
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td> |
|
130 |
<td>Function that will be called when the result is ready.</td> |
|
131 |
</tr> |
|
132 |
<tr> |
|
133 |
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> |
|
134 |
<td>Data to pass to <em class="parameter"><code>callback</code></em>.</td> |
|
135 |
</tr> |
|
136 |
</tbody> |
|
137 |
</table></div> |
|
138 |
</div> |
|
139 |
<hr> |
|
140 |
<div class="refsect2"> |
|
141 |
<a name="goa-client-new-finish"></a><h3>goa_client_new_finish ()</h3> |
|
142 |
<pre class="programlisting"><a class="link" href="GoaClient.html" title="GoaClient"><span class="returnvalue">GoaClient</span></a> * goa_client_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>, |
|
143 |
<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> |
|
144 |
<p> |
|
145 |
Finishes an operation started with <a class="link" href="GoaClient.html#goa-client-new" title="goa_client_new ()"><code class="function">goa_client_new()</code></a>. |
|
146 |
</p> |
|
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
147 |
<div class="variablelist"><table border="0" class="variablelist"> |
148 |
<colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
149 |
<col align="left" valign="top"> |
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
150 |
<col> |
151 |
</colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
152 |
<tbody> |
153 |
<tr> |
|
154 |
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td> |
|
155 |
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>.</td> |
|
156 |
</tr> |
|
157 |
<tr> |
|
158 |
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> |
|
1.1.5
by Didier Roche
Import upstream version 3.2.1 |
159 |
<td>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>.</td> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
160 |
</tr> |
161 |
<tr> |
|
162 |
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
|
1.1.5
by Didier Roche
Import upstream version 3.2.1 |
163 |
<td>A <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> 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> is set. Free with |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
164 |
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when done with it.</td> |
165 |
</tr> |
|
166 |
</tbody> |
|
167 |
</table></div> |
|
168 |
</div> |
|
169 |
<hr> |
|
170 |
<div class="refsect2"> |
|
171 |
<a name="goa-client-new-sync"></a><h3>goa_client_new_sync ()</h3> |
|
172 |
<pre class="programlisting"><a class="link" href="GoaClient.html" title="GoaClient"><span class="returnvalue">GoaClient</span></a> * goa_client_new_sync (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>, |
|
173 |
<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> |
|
174 |
<p> |
|
175 |
Synchronously gets a <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> for the local system. |
|
176 |
</p> |
|
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
177 |
<div class="variablelist"><table border="0" class="variablelist"> |
178 |
<colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
179 |
<col align="left" valign="top"> |
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
180 |
<col> |
181 |
</colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
182 |
<tbody> |
183 |
<tr> |
|
184 |
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td> |
|
1.1.21
by Andreas Henriksson
Import upstream version 3.7.90 |
185 |
<td>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>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
186 |
</td> |
187 |
</tr> |
|
188 |
<tr> |
|
189 |
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td> |
|
1.1.21
by Andreas Henriksson
Import upstream version 3.7.90 |
190 |
<td>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>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
191 |
</td> |
192 |
</tr> |
|
193 |
<tr> |
|
194 |
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
|
1.1.5
by Didier Roche
Import upstream version 3.2.1 |
195 |
<td>A <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> 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> is set. Free with |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
196 |
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when done with it.</td> |
197 |
</tr> |
|
198 |
</tbody> |
|
199 |
</table></div> |
|
200 |
</div> |
|
201 |
<hr> |
|
202 |
<div class="refsect2"> |
|
203 |
<a name="goa-client-get-manager"></a><h3>goa_client_get_manager ()</h3> |
|
204 |
<pre class="programlisting"><a class="link" href="GoaManager.html" title="GoaManager"><span class="returnvalue">GoaManager</span></a> * goa_client_get_manager (<em class="parameter"><code><a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> *client</code></em>);</pre> |
|
205 |
<p> |
|
206 |
Gets the <a class="link" href="GoaManager.html" title="GoaManager"><span class="type">GoaManager</span></a> for <em class="parameter"><code>client</code></em>. |
|
207 |
</p> |
|
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
208 |
<div class="variablelist"><table border="0" class="variablelist"> |
209 |
<colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
210 |
<col align="left" valign="top"> |
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
211 |
<col> |
212 |
</colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
213 |
<tbody> |
214 |
<tr> |
|
215 |
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> |
|
216 |
<td>A <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a>.</td> |
|
217 |
</tr> |
|
218 |
<tr> |
|
219 |
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
|
220 |
<td>A <a class="link" href="GoaManager.html" title="GoaManager"><span class="type">GoaManager</span></a>. Do not free, the returned |
|
1.1.21
by Andreas Henriksson
Import upstream version 3.7.90 |
221 |
object belongs to <em class="parameter"><code>client</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
222 |
</td> |
223 |
</tr> |
|
224 |
</tbody> |
|
225 |
</table></div> |
|
226 |
</div> |
|
227 |
<hr> |
|
228 |
<div class="refsect2"> |
|
229 |
<a name="goa-client-get-accounts"></a><h3>goa_client_get_accounts ()</h3> |
|
230 |
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * goa_client_get_accounts (<em class="parameter"><code><a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> *client</code></em>);</pre> |
|
231 |
<p> |
|
232 |
Gets all accounts that <em class="parameter"><code>client</code></em> knows about. The result is a list of |
|
233 |
<a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a> instances where each object at least has an <a class="link" href="GoaAccount.html" title="GoaAccount"><span class="type">GoaAccount</span></a> |
|
234 |
interface (that can be obtained via the <a class="link" href="GoaObject.html#goa-object-get-account" title="goa_object_get_account ()"><code class="function">goa_object_get_account()</code></a> |
|
235 |
method) but may also implement other interfaces such as |
|
1.1.21
by Andreas Henriksson
Import upstream version 3.7.90 |
236 |
<a class="link" href="GoaMail.html" title="GoaMail"><span class="type">GoaMail</span></a> or <a class="link" href="GoaFiles.html" title="GoaFiles"><span class="type">GoaFiles</span></a>. |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
237 |
</p> |
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
238 |
<div class="variablelist"><table border="0" class="variablelist"> |
239 |
<colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
240 |
<col align="left" valign="top"> |
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
241 |
<col> |
242 |
</colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
243 |
<tbody> |
244 |
<tr> |
|
245 |
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> |
|
246 |
<td>A <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a>.</td> |
|
247 |
</tr> |
|
248 |
<tr> |
|
249 |
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
|
250 |
<td>A list of |
|
251 |
<a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a> instances that must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after |
|
1.1.21
by Andreas Henriksson
Import upstream version 3.7.90 |
252 |
each element has been freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GoaObject]</span> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
253 |
</td> |
254 |
</tr> |
|
255 |
</tbody> |
|
256 |
</table></div> |
|
257 |
</div> |
|
258 |
<hr> |
|
259 |
<div class="refsect2"> |
|
260 |
<a name="goa-client-get-object-manager"></a><h3>goa_client_get_object_manager ()</h3> |
|
1.1.3
by Martin Pitt
Import upstream version 3.2.0 |
261 |
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="returnvalue">GDBusObjectManager</span></a> * goa_client_get_object_manager (<em class="parameter"><code><a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> *client</code></em>);</pre> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
262 |
<p> |
1.1.3
by Martin Pitt
Import upstream version 3.2.0 |
263 |
Gets the <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="type">GDBusObjectManager</span></a> used by <em class="parameter"><code>client</code></em>. |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
264 |
</p> |
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
265 |
<div class="variablelist"><table border="0" class="variablelist"> |
266 |
<colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
267 |
<col align="left" valign="top"> |
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
268 |
<col> |
269 |
</colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
270 |
<tbody> |
271 |
<tr> |
|
272 |
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> |
|
273 |
<td>A <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a>.</td> |
|
274 |
</tr> |
|
275 |
<tr> |
|
276 |
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
|
1.1.3
by Martin Pitt
Import upstream version 3.2.0 |
277 |
<td>A <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="type">GDBusObjectManager</span></a>. Do not free, the |
1.1.21
by Andreas Henriksson
Import upstream version 3.7.90 |
278 |
instance is owned by <em class="parameter"><code>client</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
279 |
</td> |
280 |
</tr> |
|
281 |
</tbody> |
|
282 |
</table></div> |
|
283 |
</div> |
|
1.1.15
by Jeremy Bicha
Import upstream version 3.5.90 |
284 |
<hr> |
285 |
<div class="refsect2"> |
|
286 |
<a name="goa-client-lookup-by-id"></a><h3>goa_client_lookup_by_id ()</h3> |
|
287 |
<pre class="programlisting"><a class="link" href="GoaObject.html" title="GoaObject"><span class="returnvalue">GoaObject</span></a> * goa_client_lookup_by_id (<em class="parameter"><code><a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> *client</code></em>, |
|
288 |
<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> *id</code></em>);</pre> |
|
289 |
<p> |
|
290 |
Finds and returns the <a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a> instance whose |
|
291 |
<a class="link" href="gdbus-org.gnome.OnlineAccounts.Account.html#gdbus-property-org-gnome-OnlineAccounts-Account.Id" title='The "Id" property'>"Id"</a> |
|
292 |
D-Bus property matches <em class="parameter"><code>id</code></em>. |
|
293 |
</p> |
|
294 |
<div class="variablelist"><table border="0" class="variablelist"> |
|
295 |
<colgroup> |
|
296 |
<col align="left" valign="top"> |
|
297 |
<col> |
|
298 |
</colgroup> |
|
299 |
<tbody> |
|
300 |
<tr> |
|
301 |
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> |
|
302 |
<td>A <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a>.</td> |
|
303 |
</tr> |
|
304 |
<tr> |
|
305 |
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td> |
|
306 |
<td>The ID to look for.</td> |
|
307 |
</tr> |
|
308 |
<tr> |
|
309 |
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> |
|
310 |
<td>A <a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a>. Free the returned |
|
1.1.21
by Andreas Henriksson
Import upstream version 3.7.90 |
311 |
object with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> |
1.1.15
by Jeremy Bicha
Import upstream version 3.5.90 |
312 |
</td> |
313 |
</tr> |
|
314 |
</tbody> |
|
315 |
</table></div> |
|
1.1.19
by Simon McVittie
Import upstream version 3.6.1 |
316 |
<p class="since">Since 3.6</p> |
1.1.15
by Jeremy Bicha
Import upstream version 3.5.90 |
317 |
</div> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
318 |
</div> |
319 |
<div class="refsect1"> |
|
320 |
<a name="GoaClient.property-details"></a><h2>Property Details</h2> |
|
321 |
<div class="refsect2"> |
|
322 |
<a name="GoaClient--object-manager"></a><h3>The <code class="literal">"object-manager"</code> property</h3> |
|
1.1.3
by Martin Pitt
Import upstream version 3.2.0 |
323 |
<pre class="programlisting"> "object-manager" <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="type">GDBusObjectManager</span></a>* : Read</pre> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
324 |
<p> |
1.1.3
by Martin Pitt
Import upstream version 3.2.0 |
325 |
The <a href="http://library.gnome.org/devel/gio/unstable/GDBusObjectManager.html"><span class="type">GDBusObjectManager</span></a> used by the <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> instance. |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
326 |
</p> |
327 |
</div> |
|
328 |
</div> |
|
329 |
<div class="refsect1"> |
|
330 |
<a name="GoaClient.signal-details"></a><h2>Signal Details</h2> |
|
331 |
<div class="refsect2"> |
|
332 |
<a name="GoaClient-account-added"></a><h3>The <code class="literal">"account-added"</code> signal</h3> |
|
333 |
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> *client, |
|
334 |
<a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a> *object, |
|
335 |
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> |
|
336 |
<p> |
|
337 |
Emitted when <em class="parameter"><code>object</code></em> has been added. See |
|
338 |
<a class="link" href="GoaClient.html#goa-client-get-accounts" title="goa_client_get_accounts ()"><code class="function">goa_client_get_accounts()</code></a> for information about how to use this |
|
339 |
object. |
|
340 |
</p> |
|
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
341 |
<div class="variablelist"><table border="0" class="variablelist"> |
342 |
<colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
343 |
<col align="left" valign="top"> |
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
344 |
<col> |
345 |
</colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
346 |
<tbody> |
347 |
<tr> |
|
348 |
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> |
|
349 |
<td>The <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> object emitting the signal.</td> |
|
350 |
</tr> |
|
351 |
<tr> |
|
352 |
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> |
|
353 |
<td>The <a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a> for the added account.</td> |
|
354 |
</tr> |
|
355 |
<tr> |
|
356 |
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> |
|
357 |
<td>user data set when the signal handler was connected.</td> |
|
358 |
</tr> |
|
359 |
</tbody> |
|
360 |
</table></div> |
|
361 |
</div> |
|
362 |
<hr> |
|
363 |
<div class="refsect2"> |
|
364 |
<a name="GoaClient-account-changed"></a><h3>The <code class="literal">"account-changed"</code> signal</h3> |
|
365 |
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> *client, |
|
366 |
<a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a> *object, |
|
367 |
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> |
|
368 |
<p> |
|
369 |
Emitted when something on <em class="parameter"><code>object</code></em> changes. |
|
370 |
</p> |
|
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
371 |
<div class="variablelist"><table border="0" class="variablelist"> |
372 |
<colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
373 |
<col align="left" valign="top"> |
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
374 |
<col> |
375 |
</colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
376 |
<tbody> |
377 |
<tr> |
|
378 |
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> |
|
379 |
<td>The <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> object emitting the signal.</td> |
|
380 |
</tr> |
|
381 |
<tr> |
|
382 |
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> |
|
383 |
<td>The <a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a> for the account with changes.</td> |
|
384 |
</tr> |
|
385 |
<tr> |
|
386 |
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> |
|
387 |
<td>user data set when the signal handler was connected.</td> |
|
388 |
</tr> |
|
389 |
</tbody> |
|
390 |
</table></div> |
|
391 |
</div> |
|
392 |
<hr> |
|
393 |
<div class="refsect2"> |
|
394 |
<a name="GoaClient-account-removed"></a><h3>The <code class="literal">"account-removed"</code> signal</h3> |
|
395 |
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> *client, |
|
396 |
<a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a> *object, |
|
397 |
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> |
|
398 |
<p> |
|
399 |
Emitted when <em class="parameter"><code>object</code></em> has been removed. |
|
400 |
</p> |
|
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
401 |
<div class="variablelist"><table border="0" class="variablelist"> |
402 |
<colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
403 |
<col align="left" valign="top"> |
1.1.14
by Sebastien Bacher
Import upstream version 3.5.5 |
404 |
<col> |
405 |
</colgroup> |
|
1
by Rodrigo Moya
Import upstream version 3.1.1 |
406 |
<tbody> |
407 |
<tr> |
|
408 |
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td> |
|
409 |
<td>The <a class="link" href="GoaClient.html" title="GoaClient"><span class="type">GoaClient</span></a> object emitting the signal.</td> |
|
410 |
</tr> |
|
411 |
<tr> |
|
412 |
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> |
|
413 |
<td>The <a class="link" href="GoaObject.html" title="GoaObject"><span class="type">GoaObject</span></a> for the removed account.</td> |
|
414 |
</tr> |
|
415 |
<tr> |
|
416 |
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> |
|
417 |
<td>user data set when the signal handler was connected.</td> |
|
418 |
</tr> |
|
419 |
</tbody> |
|
420 |
</table></div> |
|
421 |
</div> |
|
422 |
</div> |
|
423 |
</div> |
|
424 |
<div class="footer"> |
|
425 |
<hr> |
|
0.4.3
by Michael Biebl
Import upstream version 3.8.2 |
426 |
Generated by GTK-Doc V1.18.1</div> |
1
by Rodrigo Moya
Import upstream version 3.1.1 |
427 |
</body> |
428 |
</html> |