Update to upstream 1.0.1
[profile/ivi/gsignond.git] / src / daemon / dbus / gsignond-dbus-identity-gen.h
1 /*
2  * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
3  *
4  * The license of this code is the same as for the source it was derived from.
5  */
6
7 #ifndef __GSIGNOND_DBUS_IDENTITY_GEN_H__
8 #define __GSIGNOND_DBUS_IDENTITY_GEN_H__
9
10 #include <gio/gio.h>
11
12 G_BEGIN_DECLS
13
14
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for com.google.code.AccountsSSO.gSingleSignOn.Identity */
17
18 #define GSIGNOND_DBUS_TYPE_IDENTITY (gsignond_dbus_identity_get_type ())
19 #define GSIGNOND_DBUS_IDENTITY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_IDENTITY, GSignondDbusIdentity))
20 #define GSIGNOND_DBUS_IS_IDENTITY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_IDENTITY))
21 #define GSIGNOND_DBUS_IDENTITY_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GSIGNOND_DBUS_TYPE_IDENTITY, GSignondDbusIdentityIface))
22
23 struct _GSignondDbusIdentity;
24 typedef struct _GSignondDbusIdentity GSignondDbusIdentity;
25 typedef struct _GSignondDbusIdentityIface GSignondDbusIdentityIface;
26
27 struct _GSignondDbusIdentityIface
28 {
29   GTypeInterface parent_iface;
30
31
32   gboolean (*handle_add_reference) (
33     GSignondDbusIdentity *object,
34     GDBusMethodInvocation *invocation,
35     const gchar *arg_reference);
36
37   gboolean (*handle_get_auth_session) (
38     GSignondDbusIdentity *object,
39     GDBusMethodInvocation *invocation,
40     const gchar *arg_method);
41
42   gboolean (*handle_get_info) (
43     GSignondDbusIdentity *object,
44     GDBusMethodInvocation *invocation);
45
46   gboolean (*handle_remove) (
47     GSignondDbusIdentity *object,
48     GDBusMethodInvocation *invocation);
49
50   gboolean (*handle_remove_reference) (
51     GSignondDbusIdentity *object,
52     GDBusMethodInvocation *invocation,
53     const gchar *arg_reference);
54
55   gboolean (*handle_request_credentials_update) (
56     GSignondDbusIdentity *object,
57     GDBusMethodInvocation *invocation,
58     const gchar *arg_message);
59
60   gboolean (*handle_sign_out) (
61     GSignondDbusIdentity *object,
62     GDBusMethodInvocation *invocation);
63
64   gboolean (*handle_store) (
65     GSignondDbusIdentity *object,
66     GDBusMethodInvocation *invocation,
67     GVariant *arg_unnamed_arg0);
68
69   gboolean (*handle_verify_secret) (
70     GSignondDbusIdentity *object,
71     GDBusMethodInvocation *invocation,
72     const gchar *arg_secret);
73
74   gboolean (*handle_verify_user) (
75     GSignondDbusIdentity *object,
76     GDBusMethodInvocation *invocation,
77     GVariant *arg_params);
78
79   void (*info_updated) (
80     GSignondDbusIdentity *object,
81     gint arg_unnamed_arg0);
82
83   void (*unregistered) (
84     GSignondDbusIdentity *object);
85
86 };
87
88 GType gsignond_dbus_identity_get_type (void) G_GNUC_CONST;
89
90 GDBusInterfaceInfo *gsignond_dbus_identity_interface_info (void);
91 guint gsignond_dbus_identity_override_properties (GObjectClass *klass, guint property_id_begin);
92
93
94 /* D-Bus method call completion functions: */
95 void gsignond_dbus_identity_complete_request_credentials_update (
96     GSignondDbusIdentity *object,
97     GDBusMethodInvocation *invocation,
98     guint unnamed_arg1);
99
100 void gsignond_dbus_identity_complete_get_info (
101     GSignondDbusIdentity *object,
102     GDBusMethodInvocation *invocation,
103     GVariant *identityInfo);
104
105 void gsignond_dbus_identity_complete_get_auth_session (
106     GSignondDbusIdentity *object,
107     GDBusMethodInvocation *invocation,
108     const gchar *objectPath);
109
110 void gsignond_dbus_identity_complete_verify_user (
111     GSignondDbusIdentity *object,
112     GDBusMethodInvocation *invocation,
113     gboolean unnamed_arg1);
114
115 void gsignond_dbus_identity_complete_verify_secret (
116     GSignondDbusIdentity *object,
117     GDBusMethodInvocation *invocation,
118     gboolean unnamed_arg1);
119
120 void gsignond_dbus_identity_complete_remove (
121     GSignondDbusIdentity *object,
122     GDBusMethodInvocation *invocation);
123
124 void gsignond_dbus_identity_complete_sign_out (
125     GSignondDbusIdentity *object,
126     GDBusMethodInvocation *invocation,
127     gboolean unnamed_arg0);
128
129 void gsignond_dbus_identity_complete_store (
130     GSignondDbusIdentity *object,
131     GDBusMethodInvocation *invocation,
132     guint unnamed_arg1);
133
134 void gsignond_dbus_identity_complete_add_reference (
135     GSignondDbusIdentity *object,
136     GDBusMethodInvocation *invocation,
137     gint unnamed_arg1);
138
139 void gsignond_dbus_identity_complete_remove_reference (
140     GSignondDbusIdentity *object,
141     GDBusMethodInvocation *invocation,
142     gint unnamed_arg1);
143
144
145
146 /* D-Bus signal emissions functions: */
147 void gsignond_dbus_identity_emit_unregistered (
148     GSignondDbusIdentity *object);
149
150 void gsignond_dbus_identity_emit_info_updated (
151     GSignondDbusIdentity *object,
152     gint arg_unnamed_arg0);
153
154
155
156 /* D-Bus method calls: */
157 void gsignond_dbus_identity_call_request_credentials_update (
158     GSignondDbusIdentity *proxy,
159     const gchar *arg_message,
160     GCancellable *cancellable,
161     GAsyncReadyCallback callback,
162     gpointer user_data);
163
164 gboolean gsignond_dbus_identity_call_request_credentials_update_finish (
165     GSignondDbusIdentity *proxy,
166     guint *out_unnamed_arg1,
167     GAsyncResult *res,
168     GError **error);
169
170 gboolean gsignond_dbus_identity_call_request_credentials_update_sync (
171     GSignondDbusIdentity *proxy,
172     const gchar *arg_message,
173     guint *out_unnamed_arg1,
174     GCancellable *cancellable,
175     GError **error);
176
177 void gsignond_dbus_identity_call_get_info (
178     GSignondDbusIdentity *proxy,
179     GCancellable *cancellable,
180     GAsyncReadyCallback callback,
181     gpointer user_data);
182
183 gboolean gsignond_dbus_identity_call_get_info_finish (
184     GSignondDbusIdentity *proxy,
185     GVariant **out_identityInfo,
186     GAsyncResult *res,
187     GError **error);
188
189 gboolean gsignond_dbus_identity_call_get_info_sync (
190     GSignondDbusIdentity *proxy,
191     GVariant **out_identityInfo,
192     GCancellable *cancellable,
193     GError **error);
194
195 void gsignond_dbus_identity_call_get_auth_session (
196     GSignondDbusIdentity *proxy,
197     const gchar *arg_method,
198     GCancellable *cancellable,
199     GAsyncReadyCallback callback,
200     gpointer user_data);
201
202 gboolean gsignond_dbus_identity_call_get_auth_session_finish (
203     GSignondDbusIdentity *proxy,
204     gchar **out_objectPath,
205     GAsyncResult *res,
206     GError **error);
207
208 gboolean gsignond_dbus_identity_call_get_auth_session_sync (
209     GSignondDbusIdentity *proxy,
210     const gchar *arg_method,
211     gchar **out_objectPath,
212     GCancellable *cancellable,
213     GError **error);
214
215 void gsignond_dbus_identity_call_verify_user (
216     GSignondDbusIdentity *proxy,
217     GVariant *arg_params,
218     GCancellable *cancellable,
219     GAsyncReadyCallback callback,
220     gpointer user_data);
221
222 gboolean gsignond_dbus_identity_call_verify_user_finish (
223     GSignondDbusIdentity *proxy,
224     gboolean *out_unnamed_arg1,
225     GAsyncResult *res,
226     GError **error);
227
228 gboolean gsignond_dbus_identity_call_verify_user_sync (
229     GSignondDbusIdentity *proxy,
230     GVariant *arg_params,
231     gboolean *out_unnamed_arg1,
232     GCancellable *cancellable,
233     GError **error);
234
235 void gsignond_dbus_identity_call_verify_secret (
236     GSignondDbusIdentity *proxy,
237     const gchar *arg_secret,
238     GCancellable *cancellable,
239     GAsyncReadyCallback callback,
240     gpointer user_data);
241
242 gboolean gsignond_dbus_identity_call_verify_secret_finish (
243     GSignondDbusIdentity *proxy,
244     gboolean *out_unnamed_arg1,
245     GAsyncResult *res,
246     GError **error);
247
248 gboolean gsignond_dbus_identity_call_verify_secret_sync (
249     GSignondDbusIdentity *proxy,
250     const gchar *arg_secret,
251     gboolean *out_unnamed_arg1,
252     GCancellable *cancellable,
253     GError **error);
254
255 void gsignond_dbus_identity_call_remove (
256     GSignondDbusIdentity *proxy,
257     GCancellable *cancellable,
258     GAsyncReadyCallback callback,
259     gpointer user_data);
260
261 gboolean gsignond_dbus_identity_call_remove_finish (
262     GSignondDbusIdentity *proxy,
263     GAsyncResult *res,
264     GError **error);
265
266 gboolean gsignond_dbus_identity_call_remove_sync (
267     GSignondDbusIdentity *proxy,
268     GCancellable *cancellable,
269     GError **error);
270
271 void gsignond_dbus_identity_call_sign_out (
272     GSignondDbusIdentity *proxy,
273     GCancellable *cancellable,
274     GAsyncReadyCallback callback,
275     gpointer user_data);
276
277 gboolean gsignond_dbus_identity_call_sign_out_finish (
278     GSignondDbusIdentity *proxy,
279     gboolean *out_unnamed_arg0,
280     GAsyncResult *res,
281     GError **error);
282
283 gboolean gsignond_dbus_identity_call_sign_out_sync (
284     GSignondDbusIdentity *proxy,
285     gboolean *out_unnamed_arg0,
286     GCancellable *cancellable,
287     GError **error);
288
289 void gsignond_dbus_identity_call_store (
290     GSignondDbusIdentity *proxy,
291     GVariant *arg_unnamed_arg0,
292     GCancellable *cancellable,
293     GAsyncReadyCallback callback,
294     gpointer user_data);
295
296 gboolean gsignond_dbus_identity_call_store_finish (
297     GSignondDbusIdentity *proxy,
298     guint *out_unnamed_arg1,
299     GAsyncResult *res,
300     GError **error);
301
302 gboolean gsignond_dbus_identity_call_store_sync (
303     GSignondDbusIdentity *proxy,
304     GVariant *arg_unnamed_arg0,
305     guint *out_unnamed_arg1,
306     GCancellable *cancellable,
307     GError **error);
308
309 void gsignond_dbus_identity_call_add_reference (
310     GSignondDbusIdentity *proxy,
311     const gchar *arg_reference,
312     GCancellable *cancellable,
313     GAsyncReadyCallback callback,
314     gpointer user_data);
315
316 gboolean gsignond_dbus_identity_call_add_reference_finish (
317     GSignondDbusIdentity *proxy,
318     gint *out_unnamed_arg1,
319     GAsyncResult *res,
320     GError **error);
321
322 gboolean gsignond_dbus_identity_call_add_reference_sync (
323     GSignondDbusIdentity *proxy,
324     const gchar *arg_reference,
325     gint *out_unnamed_arg1,
326     GCancellable *cancellable,
327     GError **error);
328
329 void gsignond_dbus_identity_call_remove_reference (
330     GSignondDbusIdentity *proxy,
331     const gchar *arg_reference,
332     GCancellable *cancellable,
333     GAsyncReadyCallback callback,
334     gpointer user_data);
335
336 gboolean gsignond_dbus_identity_call_remove_reference_finish (
337     GSignondDbusIdentity *proxy,
338     gint *out_unnamed_arg1,
339     GAsyncResult *res,
340     GError **error);
341
342 gboolean gsignond_dbus_identity_call_remove_reference_sync (
343     GSignondDbusIdentity *proxy,
344     const gchar *arg_reference,
345     gint *out_unnamed_arg1,
346     GCancellable *cancellable,
347     GError **error);
348
349
350
351 /* ---- */
352
353 #define GSIGNOND_DBUS_TYPE_IDENTITY_PROXY (gsignond_dbus_identity_proxy_get_type ())
354 #define GSIGNOND_DBUS_IDENTITY_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_IDENTITY_PROXY, GSignondDbusIdentityProxy))
355 #define GSIGNOND_DBUS_IDENTITY_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSIGNOND_DBUS_TYPE_IDENTITY_PROXY, GSignondDbusIdentityProxyClass))
356 #define GSIGNOND_DBUS_IDENTITY_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSIGNOND_DBUS_TYPE_IDENTITY_PROXY, GSignondDbusIdentityProxyClass))
357 #define GSIGNOND_DBUS_IS_IDENTITY_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_IDENTITY_PROXY))
358 #define GSIGNOND_DBUS_IS_IDENTITY_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSIGNOND_DBUS_TYPE_IDENTITY_PROXY))
359
360 typedef struct _GSignondDbusIdentityProxy GSignondDbusIdentityProxy;
361 typedef struct _GSignondDbusIdentityProxyClass GSignondDbusIdentityProxyClass;
362 typedef struct _GSignondDbusIdentityProxyPrivate GSignondDbusIdentityProxyPrivate;
363
364 struct _GSignondDbusIdentityProxy
365 {
366   /*< private >*/
367   GDBusProxy parent_instance;
368   GSignondDbusIdentityProxyPrivate *priv;
369 };
370
371 struct _GSignondDbusIdentityProxyClass
372 {
373   GDBusProxyClass parent_class;
374 };
375
376 GType gsignond_dbus_identity_proxy_get_type (void) G_GNUC_CONST;
377
378 void gsignond_dbus_identity_proxy_new (
379     GDBusConnection     *connection,
380     GDBusProxyFlags      flags,
381     const gchar         *name,
382     const gchar         *object_path,
383     GCancellable        *cancellable,
384     GAsyncReadyCallback  callback,
385     gpointer             user_data);
386 GSignondDbusIdentity *gsignond_dbus_identity_proxy_new_finish (
387     GAsyncResult        *res,
388     GError             **error);
389 GSignondDbusIdentity *gsignond_dbus_identity_proxy_new_sync (
390     GDBusConnection     *connection,
391     GDBusProxyFlags      flags,
392     const gchar         *name,
393     const gchar         *object_path,
394     GCancellable        *cancellable,
395     GError             **error);
396
397 void gsignond_dbus_identity_proxy_new_for_bus (
398     GBusType             bus_type,
399     GDBusProxyFlags      flags,
400     const gchar         *name,
401     const gchar         *object_path,
402     GCancellable        *cancellable,
403     GAsyncReadyCallback  callback,
404     gpointer             user_data);
405 GSignondDbusIdentity *gsignond_dbus_identity_proxy_new_for_bus_finish (
406     GAsyncResult        *res,
407     GError             **error);
408 GSignondDbusIdentity *gsignond_dbus_identity_proxy_new_for_bus_sync (
409     GBusType             bus_type,
410     GDBusProxyFlags      flags,
411     const gchar         *name,
412     const gchar         *object_path,
413     GCancellable        *cancellable,
414     GError             **error);
415
416
417 /* ---- */
418
419 #define GSIGNOND_DBUS_TYPE_IDENTITY_SKELETON (gsignond_dbus_identity_skeleton_get_type ())
420 #define GSIGNOND_DBUS_IDENTITY_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_IDENTITY_SKELETON, GSignondDbusIdentitySkeleton))
421 #define GSIGNOND_DBUS_IDENTITY_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSIGNOND_DBUS_TYPE_IDENTITY_SKELETON, GSignondDbusIdentitySkeletonClass))
422 #define GSIGNOND_DBUS_IDENTITY_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSIGNOND_DBUS_TYPE_IDENTITY_SKELETON, GSignondDbusIdentitySkeletonClass))
423 #define GSIGNOND_DBUS_IS_IDENTITY_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_IDENTITY_SKELETON))
424 #define GSIGNOND_DBUS_IS_IDENTITY_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSIGNOND_DBUS_TYPE_IDENTITY_SKELETON))
425
426 typedef struct _GSignondDbusIdentitySkeleton GSignondDbusIdentitySkeleton;
427 typedef struct _GSignondDbusIdentitySkeletonClass GSignondDbusIdentitySkeletonClass;
428 typedef struct _GSignondDbusIdentitySkeletonPrivate GSignondDbusIdentitySkeletonPrivate;
429
430 struct _GSignondDbusIdentitySkeleton
431 {
432   /*< private >*/
433   GDBusInterfaceSkeleton parent_instance;
434   GSignondDbusIdentitySkeletonPrivate *priv;
435 };
436
437 struct _GSignondDbusIdentitySkeletonClass
438 {
439   GDBusInterfaceSkeletonClass parent_class;
440 };
441
442 GType gsignond_dbus_identity_skeleton_get_type (void) G_GNUC_CONST;
443
444 GSignondDbusIdentity *gsignond_dbus_identity_skeleton_new (void);
445
446
447 G_END_DECLS
448
449 #endif /* __GSIGNOND_DBUS_IDENTITY_GEN_H__ */