Update package group and some updated autogenerated files
[profile/ivi/libgsignon-glib.git] / libgsignon-glib / sso-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 __SSO_AUTH_SERVICE_GEN_H__
8 #define __SSO_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 TYPE_SSO_AUTH_SERVICE (sso_auth_service_get_type ())
19 #define SSO_AUTH_SERVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SSO_AUTH_SERVICE, SsoAuthService))
20 #define IS_SSO_AUTH_SERVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SSO_AUTH_SERVICE))
21 #define SSO_AUTH_SERVICE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SSO_AUTH_SERVICE, SsoAuthServiceIface))
22
23 struct _SsoAuthService;
24 typedef struct _SsoAuthService SsoAuthService;
25 typedef struct _SsoAuthServiceIface SsoAuthServiceIface;
26
27 struct _SsoAuthServiceIface
28 {
29   GTypeInterface parent_iface;
30
31   gboolean (*handle_backup_finished) (
32     SsoAuthService *object,
33     GDBusMethodInvocation *invocation);
34
35   gboolean (*handle_backup_starts) (
36     SsoAuthService *object,
37     GDBusMethodInvocation *invocation);
38
39   gboolean (*handle_clear) (
40     SsoAuthService *object,
41     GDBusMethodInvocation *invocation);
42
43   gboolean (*handle_get_identity) (
44     SsoAuthService *object,
45     GDBusMethodInvocation *invocation,
46     guint arg_id,
47     const gchar *arg_applicationContext);
48
49   gboolean (*handle_query_identities) (
50     SsoAuthService *object,
51     GDBusMethodInvocation *invocation,
52     GVariant *arg_filter,
53     const gchar *arg_applicationContext);
54
55   gboolean (*handle_query_mechanisms) (
56     SsoAuthService *object,
57     GDBusMethodInvocation *invocation,
58     const gchar *arg_method);
59
60   gboolean (*handle_query_methods) (
61     SsoAuthService *object,
62     GDBusMethodInvocation *invocation);
63
64   gboolean (*handle_register_new_identity) (
65     SsoAuthService *object,
66     GDBusMethodInvocation *invocation,
67     const gchar *arg_applicationContext);
68
69   gboolean (*handle_restore_finished) (
70     SsoAuthService *object,
71     GDBusMethodInvocation *invocation);
72
73   gboolean (*handle_restore_starts) (
74     SsoAuthService *object,
75     GDBusMethodInvocation *invocation);
76
77 };
78
79 GType sso_auth_service_get_type (void) G_GNUC_CONST;
80
81 GDBusInterfaceInfo *sso_auth_service_interface_info (void);
82 guint sso_auth_service_override_properties (GObjectClass *klass, guint property_id_begin);
83
84
85 /* D-Bus method call completion functions: */
86 void sso_auth_service_complete_register_new_identity (
87     SsoAuthService *object,
88     GDBusMethodInvocation *invocation,
89     const gchar *objectPath);
90
91 void sso_auth_service_complete_get_identity (
92     SsoAuthService *object,
93     GDBusMethodInvocation *invocation,
94     const gchar *objectPath,
95     GVariant *identityData);
96
97 void sso_auth_service_complete_query_methods (
98     SsoAuthService *object,
99     GDBusMethodInvocation *invocation,
100     const gchar *const *authMethods);
101
102 void sso_auth_service_complete_query_mechanisms (
103     SsoAuthService *object,
104     GDBusMethodInvocation *invocation,
105     const gchar *const *mechanisms);
106
107 void sso_auth_service_complete_query_identities (
108     SsoAuthService *object,
109     GDBusMethodInvocation *invocation,
110     GVariant *identities);
111
112 void sso_auth_service_complete_clear (
113     SsoAuthService *object,
114     GDBusMethodInvocation *invocation,
115     gboolean unnamed_arg0);
116
117 void sso_auth_service_complete_backup_starts (
118     SsoAuthService *object,
119     GDBusMethodInvocation *invocation,
120     guchar unnamed_arg0);
121
122 void sso_auth_service_complete_backup_finished (
123     SsoAuthService *object,
124     GDBusMethodInvocation *invocation,
125     guchar unnamed_arg0);
126
127 void sso_auth_service_complete_restore_starts (
128     SsoAuthService *object,
129     GDBusMethodInvocation *invocation,
130     guchar unnamed_arg0);
131
132 void sso_auth_service_complete_restore_finished (
133     SsoAuthService *object,
134     GDBusMethodInvocation *invocation,
135     guchar unnamed_arg0);
136
137
138
139 /* D-Bus method calls: */
140 void sso_auth_service_call_register_new_identity (
141     SsoAuthService *proxy,
142     const gchar *arg_applicationContext,
143     GCancellable *cancellable,
144     GAsyncReadyCallback callback,
145     gpointer user_data);
146
147 gboolean sso_auth_service_call_register_new_identity_finish (
148     SsoAuthService *proxy,
149     gchar **out_objectPath,
150     GAsyncResult *res,
151     GError **error);
152
153 gboolean sso_auth_service_call_register_new_identity_sync (
154     SsoAuthService *proxy,
155     const gchar *arg_applicationContext,
156     gchar **out_objectPath,
157     GCancellable *cancellable,
158     GError **error);
159
160 void sso_auth_service_call_get_identity (
161     SsoAuthService *proxy,
162     guint arg_id,
163     const gchar *arg_applicationContext,
164     GCancellable *cancellable,
165     GAsyncReadyCallback callback,
166     gpointer user_data);
167
168 gboolean sso_auth_service_call_get_identity_finish (
169     SsoAuthService *proxy,
170     gchar **out_objectPath,
171     GVariant **out_identityData,
172     GAsyncResult *res,
173     GError **error);
174
175 gboolean sso_auth_service_call_get_identity_sync (
176     SsoAuthService *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 sso_auth_service_call_query_methods (
185     SsoAuthService *proxy,
186     GCancellable *cancellable,
187     GAsyncReadyCallback callback,
188     gpointer user_data);
189
190 gboolean sso_auth_service_call_query_methods_finish (
191     SsoAuthService *proxy,
192     gchar ***out_authMethods,
193     GAsyncResult *res,
194     GError **error);
195
196 gboolean sso_auth_service_call_query_methods_sync (
197     SsoAuthService *proxy,
198     gchar ***out_authMethods,
199     GCancellable *cancellable,
200     GError **error);
201
202 void sso_auth_service_call_query_mechanisms (
203     SsoAuthService *proxy,
204     const gchar *arg_method,
205     GCancellable *cancellable,
206     GAsyncReadyCallback callback,
207     gpointer user_data);
208
209 gboolean sso_auth_service_call_query_mechanisms_finish (
210     SsoAuthService *proxy,
211     gchar ***out_mechanisms,
212     GAsyncResult *res,
213     GError **error);
214
215 gboolean sso_auth_service_call_query_mechanisms_sync (
216     SsoAuthService *proxy,
217     const gchar *arg_method,
218     gchar ***out_mechanisms,
219     GCancellable *cancellable,
220     GError **error);
221
222 void sso_auth_service_call_query_identities (
223     SsoAuthService *proxy,
224     GVariant *arg_filter,
225     const gchar *arg_applicationContext,
226     GCancellable *cancellable,
227     GAsyncReadyCallback callback,
228     gpointer user_data);
229
230 gboolean sso_auth_service_call_query_identities_finish (
231     SsoAuthService *proxy,
232     GVariant **out_identities,
233     GAsyncResult *res,
234     GError **error);
235
236 gboolean sso_auth_service_call_query_identities_sync (
237     SsoAuthService *proxy,
238     GVariant *arg_filter,
239     const gchar *arg_applicationContext,
240     GVariant **out_identities,
241     GCancellable *cancellable,
242     GError **error);
243
244 void sso_auth_service_call_clear (
245     SsoAuthService *proxy,
246     GCancellable *cancellable,
247     GAsyncReadyCallback callback,
248     gpointer user_data);
249
250 gboolean sso_auth_service_call_clear_finish (
251     SsoAuthService *proxy,
252     gboolean *out_unnamed_arg0,
253     GAsyncResult *res,
254     GError **error);
255
256 gboolean sso_auth_service_call_clear_sync (
257     SsoAuthService *proxy,
258     gboolean *out_unnamed_arg0,
259     GCancellable *cancellable,
260     GError **error);
261
262 void sso_auth_service_call_backup_starts (
263     SsoAuthService *proxy,
264     GCancellable *cancellable,
265     GAsyncReadyCallback callback,
266     gpointer user_data);
267
268 gboolean sso_auth_service_call_backup_starts_finish (
269     SsoAuthService *proxy,
270     guchar *out_unnamed_arg0,
271     GAsyncResult *res,
272     GError **error);
273
274 gboolean sso_auth_service_call_backup_starts_sync (
275     SsoAuthService *proxy,
276     guchar *out_unnamed_arg0,
277     GCancellable *cancellable,
278     GError **error);
279
280 void sso_auth_service_call_backup_finished (
281     SsoAuthService *proxy,
282     GCancellable *cancellable,
283     GAsyncReadyCallback callback,
284     gpointer user_data);
285
286 gboolean sso_auth_service_call_backup_finished_finish (
287     SsoAuthService *proxy,
288     guchar *out_unnamed_arg0,
289     GAsyncResult *res,
290     GError **error);
291
292 gboolean sso_auth_service_call_backup_finished_sync (
293     SsoAuthService *proxy,
294     guchar *out_unnamed_arg0,
295     GCancellable *cancellable,
296     GError **error);
297
298 void sso_auth_service_call_restore_starts (
299     SsoAuthService *proxy,
300     GCancellable *cancellable,
301     GAsyncReadyCallback callback,
302     gpointer user_data);
303
304 gboolean sso_auth_service_call_restore_starts_finish (
305     SsoAuthService *proxy,
306     guchar *out_unnamed_arg0,
307     GAsyncResult *res,
308     GError **error);
309
310 gboolean sso_auth_service_call_restore_starts_sync (
311     SsoAuthService *proxy,
312     guchar *out_unnamed_arg0,
313     GCancellable *cancellable,
314     GError **error);
315
316 void sso_auth_service_call_restore_finished (
317     SsoAuthService *proxy,
318     GCancellable *cancellable,
319     GAsyncReadyCallback callback,
320     gpointer user_data);
321
322 gboolean sso_auth_service_call_restore_finished_finish (
323     SsoAuthService *proxy,
324     guchar *out_unnamed_arg0,
325     GAsyncResult *res,
326     GError **error);
327
328 gboolean sso_auth_service_call_restore_finished_sync (
329     SsoAuthService *proxy,
330     guchar *out_unnamed_arg0,
331     GCancellable *cancellable,
332     GError **error);
333
334
335
336 /* ---- */
337
338 #define TYPE_SSO_AUTH_SERVICE_PROXY (sso_auth_service_proxy_get_type ())
339 #define SSO_AUTH_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SSO_AUTH_SERVICE_PROXY, SsoAuthServiceProxy))
340 #define SSO_AUTH_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SSO_AUTH_SERVICE_PROXY, SsoAuthServiceProxyClass))
341 #define SSO_AUTH_SERVICE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SSO_AUTH_SERVICE_PROXY, SsoAuthServiceProxyClass))
342 #define IS_SSO_AUTH_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SSO_AUTH_SERVICE_PROXY))
343 #define IS_SSO_AUTH_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SSO_AUTH_SERVICE_PROXY))
344
345 typedef struct _SsoAuthServiceProxy SsoAuthServiceProxy;
346 typedef struct _SsoAuthServiceProxyClass SsoAuthServiceProxyClass;
347 typedef struct _SsoAuthServiceProxyPrivate SsoAuthServiceProxyPrivate;
348
349 struct _SsoAuthServiceProxy
350 {
351   /*< private >*/
352   GDBusProxy parent_instance;
353   SsoAuthServiceProxyPrivate *priv;
354 };
355
356 struct _SsoAuthServiceProxyClass
357 {
358   GDBusProxyClass parent_class;
359 };
360
361 GType sso_auth_service_proxy_get_type (void) G_GNUC_CONST;
362
363 void sso_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 SsoAuthService *sso_auth_service_proxy_new_finish (
372     GAsyncResult        *res,
373     GError             **error);
374 SsoAuthService *sso_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 sso_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 SsoAuthService *sso_auth_service_proxy_new_for_bus_finish (
391     GAsyncResult        *res,
392     GError             **error);
393 SsoAuthService *sso_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 TYPE_SSO_AUTH_SERVICE_SKELETON (sso_auth_service_skeleton_get_type ())
405 #define SSO_AUTH_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SSO_AUTH_SERVICE_SKELETON, SsoAuthServiceSkeleton))
406 #define SSO_AUTH_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SSO_AUTH_SERVICE_SKELETON, SsoAuthServiceSkeletonClass))
407 #define SSO_AUTH_SERVICE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SSO_AUTH_SERVICE_SKELETON, SsoAuthServiceSkeletonClass))
408 #define IS_SSO_AUTH_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SSO_AUTH_SERVICE_SKELETON))
409 #define IS_SSO_AUTH_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SSO_AUTH_SERVICE_SKELETON))
410
411 typedef struct _SsoAuthServiceSkeleton SsoAuthServiceSkeleton;
412 typedef struct _SsoAuthServiceSkeletonClass SsoAuthServiceSkeletonClass;
413 typedef struct _SsoAuthServiceSkeletonPrivate SsoAuthServiceSkeletonPrivate;
414
415 struct _SsoAuthServiceSkeleton
416 {
417   /*< private >*/
418   GDBusInterfaceSkeleton parent_instance;
419   SsoAuthServiceSkeletonPrivate *priv;
420 };
421
422 struct _SsoAuthServiceSkeletonClass
423 {
424   GDBusInterfaceSkeletonClass parent_class;
425 };
426
427 GType sso_auth_service_skeleton_get_type (void) G_GNUC_CONST;
428
429 SsoAuthService *sso_auth_service_skeleton_new (void);
430
431
432 G_END_DECLS
433
434 #endif /* __SSO_AUTH_SERVICE_GEN_H__ */