Update to upstream 1.0.1
[profile/ivi/gsignond.git] / src / daemon / dbus / gsignond-dbus-auth-service-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_AUTH_SERVICE_GEN_H__
8 #define __GSIGNOND_DBUS_AUTH_SERVICE_GEN_H__
9
10 #include <gio/gio.h>
11
12 G_BEGIN_DECLS
13
14
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for com.google.code.AccountsSSO.gSingleSignOn.AuthService */
17
18 #define GSIGNOND_DBUS_TYPE_AUTH_SERVICE (gsignond_dbus_auth_service_get_type ())
19 #define GSIGNOND_DBUS_AUTH_SERVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_AUTH_SERVICE, GSignondDbusAuthService))
20 #define GSIGNOND_DBUS_IS_AUTH_SERVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_AUTH_SERVICE))
21 #define GSIGNOND_DBUS_AUTH_SERVICE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GSIGNOND_DBUS_TYPE_AUTH_SERVICE, GSignondDbusAuthServiceIface))
22
23 struct _GSignondDbusAuthService;
24 typedef struct _GSignondDbusAuthService GSignondDbusAuthService;
25 typedef struct _GSignondDbusAuthServiceIface GSignondDbusAuthServiceIface;
26
27 struct _GSignondDbusAuthServiceIface
28 {
29   GTypeInterface parent_iface;
30
31   gboolean (*handle_backup_finished) (
32     GSignondDbusAuthService *object,
33     GDBusMethodInvocation *invocation);
34
35   gboolean (*handle_backup_starts) (
36     GSignondDbusAuthService *object,
37     GDBusMethodInvocation *invocation);
38
39   gboolean (*handle_clear) (
40     GSignondDbusAuthService *object,
41     GDBusMethodInvocation *invocation);
42
43   gboolean (*handle_get_identity) (
44     GSignondDbusAuthService *object,
45     GDBusMethodInvocation *invocation,
46     guint arg_id,
47     const gchar *arg_applicationContext);
48
49   gboolean (*handle_query_identities) (
50     GSignondDbusAuthService *object,
51     GDBusMethodInvocation *invocation,
52     GVariant *arg_filter,
53     const gchar *arg_applicationContext);
54
55   gboolean (*handle_query_mechanisms) (
56     GSignondDbusAuthService *object,
57     GDBusMethodInvocation *invocation,
58     const gchar *arg_method);
59
60   gboolean (*handle_query_methods) (
61     GSignondDbusAuthService *object,
62     GDBusMethodInvocation *invocation);
63
64   gboolean (*handle_register_new_identity) (
65     GSignondDbusAuthService *object,
66     GDBusMethodInvocation *invocation,
67     const gchar *arg_applicationContext);
68
69   gboolean (*handle_restore_finished) (
70     GSignondDbusAuthService *object,
71     GDBusMethodInvocation *invocation);
72
73   gboolean (*handle_restore_starts) (
74     GSignondDbusAuthService *object,
75     GDBusMethodInvocation *invocation);
76
77 };
78
79 GType gsignond_dbus_auth_service_get_type (void) G_GNUC_CONST;
80
81 GDBusInterfaceInfo *gsignond_dbus_auth_service_interface_info (void);
82 guint gsignond_dbus_auth_service_override_properties (GObjectClass *klass, guint property_id_begin);
83
84
85 /* D-Bus method call completion functions: */
86 void gsignond_dbus_auth_service_complete_register_new_identity (
87     GSignondDbusAuthService *object,
88     GDBusMethodInvocation *invocation,
89     const gchar *objectPath);
90
91 void gsignond_dbus_auth_service_complete_get_identity (
92     GSignondDbusAuthService *object,
93     GDBusMethodInvocation *invocation,
94     const gchar *objectPath,
95     GVariant *identityData);
96
97 void gsignond_dbus_auth_service_complete_query_methods (
98     GSignondDbusAuthService *object,
99     GDBusMethodInvocation *invocation,
100     const gchar *const *authMethods);
101
102 void gsignond_dbus_auth_service_complete_query_mechanisms (
103     GSignondDbusAuthService *object,
104     GDBusMethodInvocation *invocation,
105     const gchar *const *mechanisms);
106
107 void gsignond_dbus_auth_service_complete_query_identities (
108     GSignondDbusAuthService *object,
109     GDBusMethodInvocation *invocation,
110     GVariant *identities);
111
112 void gsignond_dbus_auth_service_complete_clear (
113     GSignondDbusAuthService *object,
114     GDBusMethodInvocation *invocation,
115     gboolean unnamed_arg0);
116
117 void gsignond_dbus_auth_service_complete_backup_starts (
118     GSignondDbusAuthService *object,
119     GDBusMethodInvocation *invocation,
120     guchar unnamed_arg0);
121
122 void gsignond_dbus_auth_service_complete_backup_finished (
123     GSignondDbusAuthService *object,
124     GDBusMethodInvocation *invocation,
125     guchar unnamed_arg0);
126
127 void gsignond_dbus_auth_service_complete_restore_starts (
128     GSignondDbusAuthService *object,
129     GDBusMethodInvocation *invocation,
130     guchar unnamed_arg0);
131
132 void gsignond_dbus_auth_service_complete_restore_finished (
133     GSignondDbusAuthService *object,
134     GDBusMethodInvocation *invocation,
135     guchar unnamed_arg0);
136
137
138
139 /* D-Bus method calls: */
140 void gsignond_dbus_auth_service_call_register_new_identity (
141     GSignondDbusAuthService *proxy,
142     const gchar *arg_applicationContext,
143     GCancellable *cancellable,
144     GAsyncReadyCallback callback,
145     gpointer user_data);
146
147 gboolean gsignond_dbus_auth_service_call_register_new_identity_finish (
148     GSignondDbusAuthService *proxy,
149     gchar **out_objectPath,
150     GAsyncResult *res,
151     GError **error);
152
153 gboolean gsignond_dbus_auth_service_call_register_new_identity_sync (
154     GSignondDbusAuthService *proxy,
155     const gchar *arg_applicationContext,
156     gchar **out_objectPath,
157     GCancellable *cancellable,
158     GError **error);
159
160 void gsignond_dbus_auth_service_call_get_identity (
161     GSignondDbusAuthService *proxy,
162     guint arg_id,
163     const gchar *arg_applicationContext,
164     GCancellable *cancellable,
165     GAsyncReadyCallback callback,
166     gpointer user_data);
167
168 gboolean gsignond_dbus_auth_service_call_get_identity_finish (
169     GSignondDbusAuthService *proxy,
170     gchar **out_objectPath,
171     GVariant **out_identityData,
172     GAsyncResult *res,
173     GError **error);
174
175 gboolean gsignond_dbus_auth_service_call_get_identity_sync (
176     GSignondDbusAuthService *proxy,
177     guint arg_id,
178     const gchar *arg_applicationContext,
179     gchar **out_objectPath,
180     GVariant **out_identityData,
181     GCancellable *cancellable,
182     GError **error);
183
184 void gsignond_dbus_auth_service_call_query_methods (
185     GSignondDbusAuthService *proxy,
186     GCancellable *cancellable,
187     GAsyncReadyCallback callback,
188     gpointer user_data);
189
190 gboolean gsignond_dbus_auth_service_call_query_methods_finish (
191     GSignondDbusAuthService *proxy,
192     gchar ***out_authMethods,
193     GAsyncResult *res,
194     GError **error);
195
196 gboolean gsignond_dbus_auth_service_call_query_methods_sync (
197     GSignondDbusAuthService *proxy,
198     gchar ***out_authMethods,
199     GCancellable *cancellable,
200     GError **error);
201
202 void gsignond_dbus_auth_service_call_query_mechanisms (
203     GSignondDbusAuthService *proxy,
204     const gchar *arg_method,
205     GCancellable *cancellable,
206     GAsyncReadyCallback callback,
207     gpointer user_data);
208
209 gboolean gsignond_dbus_auth_service_call_query_mechanisms_finish (
210     GSignondDbusAuthService *proxy,
211     gchar ***out_mechanisms,
212     GAsyncResult *res,
213     GError **error);
214
215 gboolean gsignond_dbus_auth_service_call_query_mechanisms_sync (
216     GSignondDbusAuthService *proxy,
217     const gchar *arg_method,
218     gchar ***out_mechanisms,
219     GCancellable *cancellable,
220     GError **error);
221
222 void gsignond_dbus_auth_service_call_query_identities (
223     GSignondDbusAuthService *proxy,
224     GVariant *arg_filter,
225     const gchar *arg_applicationContext,
226     GCancellable *cancellable,
227     GAsyncReadyCallback callback,
228     gpointer user_data);
229
230 gboolean gsignond_dbus_auth_service_call_query_identities_finish (
231     GSignondDbusAuthService *proxy,
232     GVariant **out_identities,
233     GAsyncResult *res,
234     GError **error);
235
236 gboolean gsignond_dbus_auth_service_call_query_identities_sync (
237     GSignondDbusAuthService *proxy,
238     GVariant *arg_filter,
239     const gchar *arg_applicationContext,
240     GVariant **out_identities,
241     GCancellable *cancellable,
242     GError **error);
243
244 void gsignond_dbus_auth_service_call_clear (
245     GSignondDbusAuthService *proxy,
246     GCancellable *cancellable,
247     GAsyncReadyCallback callback,
248     gpointer user_data);
249
250 gboolean gsignond_dbus_auth_service_call_clear_finish (
251     GSignondDbusAuthService *proxy,
252     gboolean *out_unnamed_arg0,
253     GAsyncResult *res,
254     GError **error);
255
256 gboolean gsignond_dbus_auth_service_call_clear_sync (
257     GSignondDbusAuthService *proxy,
258     gboolean *out_unnamed_arg0,
259     GCancellable *cancellable,
260     GError **error);
261
262 void gsignond_dbus_auth_service_call_backup_starts (
263     GSignondDbusAuthService *proxy,
264     GCancellable *cancellable,
265     GAsyncReadyCallback callback,
266     gpointer user_data);
267
268 gboolean gsignond_dbus_auth_service_call_backup_starts_finish (
269     GSignondDbusAuthService *proxy,
270     guchar *out_unnamed_arg0,
271     GAsyncResult *res,
272     GError **error);
273
274 gboolean gsignond_dbus_auth_service_call_backup_starts_sync (
275     GSignondDbusAuthService *proxy,
276     guchar *out_unnamed_arg0,
277     GCancellable *cancellable,
278     GError **error);
279
280 void gsignond_dbus_auth_service_call_backup_finished (
281     GSignondDbusAuthService *proxy,
282     GCancellable *cancellable,
283     GAsyncReadyCallback callback,
284     gpointer user_data);
285
286 gboolean gsignond_dbus_auth_service_call_backup_finished_finish (
287     GSignondDbusAuthService *proxy,
288     guchar *out_unnamed_arg0,
289     GAsyncResult *res,
290     GError **error);
291
292 gboolean gsignond_dbus_auth_service_call_backup_finished_sync (
293     GSignondDbusAuthService *proxy,
294     guchar *out_unnamed_arg0,
295     GCancellable *cancellable,
296     GError **error);
297
298 void gsignond_dbus_auth_service_call_restore_starts (
299     GSignondDbusAuthService *proxy,
300     GCancellable *cancellable,
301     GAsyncReadyCallback callback,
302     gpointer user_data);
303
304 gboolean gsignond_dbus_auth_service_call_restore_starts_finish (
305     GSignondDbusAuthService *proxy,
306     guchar *out_unnamed_arg0,
307     GAsyncResult *res,
308     GError **error);
309
310 gboolean gsignond_dbus_auth_service_call_restore_starts_sync (
311     GSignondDbusAuthService *proxy,
312     guchar *out_unnamed_arg0,
313     GCancellable *cancellable,
314     GError **error);
315
316 void gsignond_dbus_auth_service_call_restore_finished (
317     GSignondDbusAuthService *proxy,
318     GCancellable *cancellable,
319     GAsyncReadyCallback callback,
320     gpointer user_data);
321
322 gboolean gsignond_dbus_auth_service_call_restore_finished_finish (
323     GSignondDbusAuthService *proxy,
324     guchar *out_unnamed_arg0,
325     GAsyncResult *res,
326     GError **error);
327
328 gboolean gsignond_dbus_auth_service_call_restore_finished_sync (
329     GSignondDbusAuthService *proxy,
330     guchar *out_unnamed_arg0,
331     GCancellable *cancellable,
332     GError **error);
333
334
335
336 /* ---- */
337
338 #define GSIGNOND_DBUS_TYPE_AUTH_SERVICE_PROXY (gsignond_dbus_auth_service_proxy_get_type ())
339 #define GSIGNOND_DBUS_AUTH_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_AUTH_SERVICE_PROXY, GSignondDbusAuthServiceProxy))
340 #define GSIGNOND_DBUS_AUTH_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSIGNOND_DBUS_TYPE_AUTH_SERVICE_PROXY, GSignondDbusAuthServiceProxyClass))
341 #define GSIGNOND_DBUS_AUTH_SERVICE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSIGNOND_DBUS_TYPE_AUTH_SERVICE_PROXY, GSignondDbusAuthServiceProxyClass))
342 #define GSIGNOND_DBUS_IS_AUTH_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_AUTH_SERVICE_PROXY))
343 #define GSIGNOND_DBUS_IS_AUTH_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSIGNOND_DBUS_TYPE_AUTH_SERVICE_PROXY))
344
345 typedef struct _GSignondDbusAuthServiceProxy GSignondDbusAuthServiceProxy;
346 typedef struct _GSignondDbusAuthServiceProxyClass GSignondDbusAuthServiceProxyClass;
347 typedef struct _GSignondDbusAuthServiceProxyPrivate GSignondDbusAuthServiceProxyPrivate;
348
349 struct _GSignondDbusAuthServiceProxy
350 {
351   /*< private >*/
352   GDBusProxy parent_instance;
353   GSignondDbusAuthServiceProxyPrivate *priv;
354 };
355
356 struct _GSignondDbusAuthServiceProxyClass
357 {
358   GDBusProxyClass parent_class;
359 };
360
361 GType gsignond_dbus_auth_service_proxy_get_type (void) G_GNUC_CONST;
362
363 void gsignond_dbus_auth_service_proxy_new (
364     GDBusConnection     *connection,
365     GDBusProxyFlags      flags,
366     const gchar         *name,
367     const gchar         *object_path,
368     GCancellable        *cancellable,
369     GAsyncReadyCallback  callback,
370     gpointer             user_data);
371 GSignondDbusAuthService *gsignond_dbus_auth_service_proxy_new_finish (
372     GAsyncResult        *res,
373     GError             **error);
374 GSignondDbusAuthService *gsignond_dbus_auth_service_proxy_new_sync (
375     GDBusConnection     *connection,
376     GDBusProxyFlags      flags,
377     const gchar         *name,
378     const gchar         *object_path,
379     GCancellable        *cancellable,
380     GError             **error);
381
382 void gsignond_dbus_auth_service_proxy_new_for_bus (
383     GBusType             bus_type,
384     GDBusProxyFlags      flags,
385     const gchar         *name,
386     const gchar         *object_path,
387     GCancellable        *cancellable,
388     GAsyncReadyCallback  callback,
389     gpointer             user_data);
390 GSignondDbusAuthService *gsignond_dbus_auth_service_proxy_new_for_bus_finish (
391     GAsyncResult        *res,
392     GError             **error);
393 GSignondDbusAuthService *gsignond_dbus_auth_service_proxy_new_for_bus_sync (
394     GBusType             bus_type,
395     GDBusProxyFlags      flags,
396     const gchar         *name,
397     const gchar         *object_path,
398     GCancellable        *cancellable,
399     GError             **error);
400
401
402 /* ---- */
403
404 #define GSIGNOND_DBUS_TYPE_AUTH_SERVICE_SKELETON (gsignond_dbus_auth_service_skeleton_get_type ())
405 #define GSIGNOND_DBUS_AUTH_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_AUTH_SERVICE_SKELETON, GSignondDbusAuthServiceSkeleton))
406 #define GSIGNOND_DBUS_AUTH_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSIGNOND_DBUS_TYPE_AUTH_SERVICE_SKELETON, GSignondDbusAuthServiceSkeletonClass))
407 #define GSIGNOND_DBUS_AUTH_SERVICE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSIGNOND_DBUS_TYPE_AUTH_SERVICE_SKELETON, GSignondDbusAuthServiceSkeletonClass))
408 #define GSIGNOND_DBUS_IS_AUTH_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_AUTH_SERVICE_SKELETON))
409 #define GSIGNOND_DBUS_IS_AUTH_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSIGNOND_DBUS_TYPE_AUTH_SERVICE_SKELETON))
410
411 typedef struct _GSignondDbusAuthServiceSkeleton GSignondDbusAuthServiceSkeleton;
412 typedef struct _GSignondDbusAuthServiceSkeletonClass GSignondDbusAuthServiceSkeletonClass;
413 typedef struct _GSignondDbusAuthServiceSkeletonPrivate GSignondDbusAuthServiceSkeletonPrivate;
414
415 struct _GSignondDbusAuthServiceSkeleton
416 {
417   /*< private >*/
418   GDBusInterfaceSkeleton parent_instance;
419   GSignondDbusAuthServiceSkeletonPrivate *priv;
420 };
421
422 struct _GSignondDbusAuthServiceSkeletonClass
423 {
424   GDBusInterfaceSkeletonClass parent_class;
425 };
426
427 GType gsignond_dbus_auth_service_skeleton_get_type (void) G_GNUC_CONST;
428
429 GSignondDbusAuthService *gsignond_dbus_auth_service_skeleton_new (void);
430
431
432 G_END_DECLS
433
434 #endif /* __GSIGNOND_DBUS_AUTH_SERVICE_GEN_H__ */