Update package group and some updated autogenerated files
[profile/ivi/libgsignon-glib.git] / libgsignon-glib / sso-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 __SSO_IDENTITY_GEN_H__
8 #define __SSO_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 TYPE_SSO_IDENTITY (sso_identity_get_type ())
19 #define SSO_IDENTITY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SSO_IDENTITY, SsoIdentity))
20 #define IS_SSO_IDENTITY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SSO_IDENTITY))
21 #define SSO_IDENTITY_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SSO_IDENTITY, SsoIdentityIface))
22
23 struct _SsoIdentity;
24 typedef struct _SsoIdentity SsoIdentity;
25 typedef struct _SsoIdentityIface SsoIdentityIface;
26
27 struct _SsoIdentityIface
28 {
29   GTypeInterface parent_iface;
30
31
32   gboolean (*handle_add_reference) (
33     SsoIdentity *object,
34     GDBusMethodInvocation *invocation,
35     const gchar *arg_reference);
36
37   gboolean (*handle_get_auth_session) (
38     SsoIdentity *object,
39     GDBusMethodInvocation *invocation,
40     const gchar *arg_method);
41
42   gboolean (*handle_get_info) (
43     SsoIdentity *object,
44     GDBusMethodInvocation *invocation);
45
46   gboolean (*handle_remove) (
47     SsoIdentity *object,
48     GDBusMethodInvocation *invocation);
49
50   gboolean (*handle_remove_reference) (
51     SsoIdentity *object,
52     GDBusMethodInvocation *invocation,
53     const gchar *arg_reference);
54
55   gboolean (*handle_request_credentials_update) (
56     SsoIdentity *object,
57     GDBusMethodInvocation *invocation,
58     const gchar *arg_message);
59
60   gboolean (*handle_sign_out) (
61     SsoIdentity *object,
62     GDBusMethodInvocation *invocation);
63
64   gboolean (*handle_store) (
65     SsoIdentity *object,
66     GDBusMethodInvocation *invocation,
67     GVariant *arg_unnamed_arg0);
68
69   gboolean (*handle_verify_secret) (
70     SsoIdentity *object,
71     GDBusMethodInvocation *invocation,
72     const gchar *arg_secret);
73
74   gboolean (*handle_verify_user) (
75     SsoIdentity *object,
76     GDBusMethodInvocation *invocation,
77     GVariant *arg_params);
78
79   void (*info_updated) (
80     SsoIdentity *object,
81     gint arg_unnamed_arg0);
82
83   void (*unregistered) (
84     SsoIdentity *object);
85
86 };
87
88 GType sso_identity_get_type (void) G_GNUC_CONST;
89
90 GDBusInterfaceInfo *sso_identity_interface_info (void);
91 guint sso_identity_override_properties (GObjectClass *klass, guint property_id_begin);
92
93
94 /* D-Bus method call completion functions: */
95 void sso_identity_complete_request_credentials_update (
96     SsoIdentity *object,
97     GDBusMethodInvocation *invocation,
98     guint unnamed_arg1);
99
100 void sso_identity_complete_get_info (
101     SsoIdentity *object,
102     GDBusMethodInvocation *invocation,
103     GVariant *identityInfo);
104
105 void sso_identity_complete_get_auth_session (
106     SsoIdentity *object,
107     GDBusMethodInvocation *invocation,
108     const gchar *objectPath);
109
110 void sso_identity_complete_verify_user (
111     SsoIdentity *object,
112     GDBusMethodInvocation *invocation,
113     gboolean unnamed_arg1);
114
115 void sso_identity_complete_verify_secret (
116     SsoIdentity *object,
117     GDBusMethodInvocation *invocation,
118     gboolean unnamed_arg1);
119
120 void sso_identity_complete_remove (
121     SsoIdentity *object,
122     GDBusMethodInvocation *invocation);
123
124 void sso_identity_complete_sign_out (
125     SsoIdentity *object,
126     GDBusMethodInvocation *invocation,
127     gboolean unnamed_arg0);
128
129 void sso_identity_complete_store (
130     SsoIdentity *object,
131     GDBusMethodInvocation *invocation,
132     guint unnamed_arg1);
133
134 void sso_identity_complete_add_reference (
135     SsoIdentity *object,
136     GDBusMethodInvocation *invocation,
137     gint unnamed_arg1);
138
139 void sso_identity_complete_remove_reference (
140     SsoIdentity *object,
141     GDBusMethodInvocation *invocation,
142     gint unnamed_arg1);
143
144
145
146 /* D-Bus signal emissions functions: */
147 void sso_identity_emit_unregistered (
148     SsoIdentity *object);
149
150 void sso_identity_emit_info_updated (
151     SsoIdentity *object,
152     gint arg_unnamed_arg0);
153
154
155
156 /* D-Bus method calls: */
157 void sso_identity_call_request_credentials_update (
158     SsoIdentity *proxy,
159     const gchar *arg_message,
160     GCancellable *cancellable,
161     GAsyncReadyCallback callback,
162     gpointer user_data);
163
164 gboolean sso_identity_call_request_credentials_update_finish (
165     SsoIdentity *proxy,
166     guint *out_unnamed_arg1,
167     GAsyncResult *res,
168     GError **error);
169
170 gboolean sso_identity_call_request_credentials_update_sync (
171     SsoIdentity *proxy,
172     const gchar *arg_message,
173     guint *out_unnamed_arg1,
174     GCancellable *cancellable,
175     GError **error);
176
177 void sso_identity_call_get_info (
178     SsoIdentity *proxy,
179     GCancellable *cancellable,
180     GAsyncReadyCallback callback,
181     gpointer user_data);
182
183 gboolean sso_identity_call_get_info_finish (
184     SsoIdentity *proxy,
185     GVariant **out_identityInfo,
186     GAsyncResult *res,
187     GError **error);
188
189 gboolean sso_identity_call_get_info_sync (
190     SsoIdentity *proxy,
191     GVariant **out_identityInfo,
192     GCancellable *cancellable,
193     GError **error);
194
195 void sso_identity_call_get_auth_session (
196     SsoIdentity *proxy,
197     const gchar *arg_method,
198     GCancellable *cancellable,
199     GAsyncReadyCallback callback,
200     gpointer user_data);
201
202 gboolean sso_identity_call_get_auth_session_finish (
203     SsoIdentity *proxy,
204     gchar **out_objectPath,
205     GAsyncResult *res,
206     GError **error);
207
208 gboolean sso_identity_call_get_auth_session_sync (
209     SsoIdentity *proxy,
210     const gchar *arg_method,
211     gchar **out_objectPath,
212     GCancellable *cancellable,
213     GError **error);
214
215 void sso_identity_call_verify_user (
216     SsoIdentity *proxy,
217     GVariant *arg_params,
218     GCancellable *cancellable,
219     GAsyncReadyCallback callback,
220     gpointer user_data);
221
222 gboolean sso_identity_call_verify_user_finish (
223     SsoIdentity *proxy,
224     gboolean *out_unnamed_arg1,
225     GAsyncResult *res,
226     GError **error);
227
228 gboolean sso_identity_call_verify_user_sync (
229     SsoIdentity *proxy,
230     GVariant *arg_params,
231     gboolean *out_unnamed_arg1,
232     GCancellable *cancellable,
233     GError **error);
234
235 void sso_identity_call_verify_secret (
236     SsoIdentity *proxy,
237     const gchar *arg_secret,
238     GCancellable *cancellable,
239     GAsyncReadyCallback callback,
240     gpointer user_data);
241
242 gboolean sso_identity_call_verify_secret_finish (
243     SsoIdentity *proxy,
244     gboolean *out_unnamed_arg1,
245     GAsyncResult *res,
246     GError **error);
247
248 gboolean sso_identity_call_verify_secret_sync (
249     SsoIdentity *proxy,
250     const gchar *arg_secret,
251     gboolean *out_unnamed_arg1,
252     GCancellable *cancellable,
253     GError **error);
254
255 void sso_identity_call_remove (
256     SsoIdentity *proxy,
257     GCancellable *cancellable,
258     GAsyncReadyCallback callback,
259     gpointer user_data);
260
261 gboolean sso_identity_call_remove_finish (
262     SsoIdentity *proxy,
263     GAsyncResult *res,
264     GError **error);
265
266 gboolean sso_identity_call_remove_sync (
267     SsoIdentity *proxy,
268     GCancellable *cancellable,
269     GError **error);
270
271 void sso_identity_call_sign_out (
272     SsoIdentity *proxy,
273     GCancellable *cancellable,
274     GAsyncReadyCallback callback,
275     gpointer user_data);
276
277 gboolean sso_identity_call_sign_out_finish (
278     SsoIdentity *proxy,
279     gboolean *out_unnamed_arg0,
280     GAsyncResult *res,
281     GError **error);
282
283 gboolean sso_identity_call_sign_out_sync (
284     SsoIdentity *proxy,
285     gboolean *out_unnamed_arg0,
286     GCancellable *cancellable,
287     GError **error);
288
289 void sso_identity_call_store (
290     SsoIdentity *proxy,
291     GVariant *arg_unnamed_arg0,
292     GCancellable *cancellable,
293     GAsyncReadyCallback callback,
294     gpointer user_data);
295
296 gboolean sso_identity_call_store_finish (
297     SsoIdentity *proxy,
298     guint *out_unnamed_arg1,
299     GAsyncResult *res,
300     GError **error);
301
302 gboolean sso_identity_call_store_sync (
303     SsoIdentity *proxy,
304     GVariant *arg_unnamed_arg0,
305     guint *out_unnamed_arg1,
306     GCancellable *cancellable,
307     GError **error);
308
309 void sso_identity_call_add_reference (
310     SsoIdentity *proxy,
311     const gchar *arg_reference,
312     GCancellable *cancellable,
313     GAsyncReadyCallback callback,
314     gpointer user_data);
315
316 gboolean sso_identity_call_add_reference_finish (
317     SsoIdentity *proxy,
318     gint *out_unnamed_arg1,
319     GAsyncResult *res,
320     GError **error);
321
322 gboolean sso_identity_call_add_reference_sync (
323     SsoIdentity *proxy,
324     const gchar *arg_reference,
325     gint *out_unnamed_arg1,
326     GCancellable *cancellable,
327     GError **error);
328
329 void sso_identity_call_remove_reference (
330     SsoIdentity *proxy,
331     const gchar *arg_reference,
332     GCancellable *cancellable,
333     GAsyncReadyCallback callback,
334     gpointer user_data);
335
336 gboolean sso_identity_call_remove_reference_finish (
337     SsoIdentity *proxy,
338     gint *out_unnamed_arg1,
339     GAsyncResult *res,
340     GError **error);
341
342 gboolean sso_identity_call_remove_reference_sync (
343     SsoIdentity *proxy,
344     const gchar *arg_reference,
345     gint *out_unnamed_arg1,
346     GCancellable *cancellable,
347     GError **error);
348
349
350
351 /* ---- */
352
353 #define TYPE_SSO_IDENTITY_PROXY (sso_identity_proxy_get_type ())
354 #define SSO_IDENTITY_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SSO_IDENTITY_PROXY, SsoIdentityProxy))
355 #define SSO_IDENTITY_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SSO_IDENTITY_PROXY, SsoIdentityProxyClass))
356 #define SSO_IDENTITY_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SSO_IDENTITY_PROXY, SsoIdentityProxyClass))
357 #define IS_SSO_IDENTITY_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SSO_IDENTITY_PROXY))
358 #define IS_SSO_IDENTITY_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SSO_IDENTITY_PROXY))
359
360 typedef struct _SsoIdentityProxy SsoIdentityProxy;
361 typedef struct _SsoIdentityProxyClass SsoIdentityProxyClass;
362 typedef struct _SsoIdentityProxyPrivate SsoIdentityProxyPrivate;
363
364 struct _SsoIdentityProxy
365 {
366   /*< private >*/
367   GDBusProxy parent_instance;
368   SsoIdentityProxyPrivate *priv;
369 };
370
371 struct _SsoIdentityProxyClass
372 {
373   GDBusProxyClass parent_class;
374 };
375
376 GType sso_identity_proxy_get_type (void) G_GNUC_CONST;
377
378 void sso_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 SsoIdentity *sso_identity_proxy_new_finish (
387     GAsyncResult        *res,
388     GError             **error);
389 SsoIdentity *sso_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 sso_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 SsoIdentity *sso_identity_proxy_new_for_bus_finish (
406     GAsyncResult        *res,
407     GError             **error);
408 SsoIdentity *sso_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 TYPE_SSO_IDENTITY_SKELETON (sso_identity_skeleton_get_type ())
420 #define SSO_IDENTITY_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SSO_IDENTITY_SKELETON, SsoIdentitySkeleton))
421 #define SSO_IDENTITY_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SSO_IDENTITY_SKELETON, SsoIdentitySkeletonClass))
422 #define SSO_IDENTITY_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SSO_IDENTITY_SKELETON, SsoIdentitySkeletonClass))
423 #define IS_SSO_IDENTITY_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SSO_IDENTITY_SKELETON))
424 #define IS_SSO_IDENTITY_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SSO_IDENTITY_SKELETON))
425
426 typedef struct _SsoIdentitySkeleton SsoIdentitySkeleton;
427 typedef struct _SsoIdentitySkeletonClass SsoIdentitySkeletonClass;
428 typedef struct _SsoIdentitySkeletonPrivate SsoIdentitySkeletonPrivate;
429
430 struct _SsoIdentitySkeleton
431 {
432   /*< private >*/
433   GDBusInterfaceSkeleton parent_instance;
434   SsoIdentitySkeletonPrivate *priv;
435 };
436
437 struct _SsoIdentitySkeletonClass
438 {
439   GDBusInterfaceSkeletonClass parent_class;
440 };
441
442 GType sso_identity_skeleton_get_type (void) G_GNUC_CONST;
443
444 SsoIdentity *sso_identity_skeleton_new (void);
445
446
447 G_END_DECLS
448
449 #endif /* __SSO_IDENTITY_GEN_H__ */