2 * Generated by gdbus-codegen 2.32.4. DO NOT EDIT.
4 * The license of this code is the same as for the source it was derived from.
7 #ifndef __SSO_IDENTITY_GEN_H__
8 #define __SSO_IDENTITY_GEN_H__
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for com.google.code.AccountsSSO.gSingleSignOn.Identity */
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))
24 typedef struct _SsoIdentity SsoIdentity;
25 typedef struct _SsoIdentityIface SsoIdentityIface;
27 struct _SsoIdentityIface
29 GTypeInterface parent_iface;
32 gboolean (*handle_add_reference) (
34 GDBusMethodInvocation *invocation,
35 const gchar *arg_reference);
37 gboolean (*handle_get_auth_session) (
39 GDBusMethodInvocation *invocation,
40 const gchar *arg_method);
42 gboolean (*handle_get_info) (
44 GDBusMethodInvocation *invocation);
46 gboolean (*handle_remove) (
48 GDBusMethodInvocation *invocation);
50 gboolean (*handle_remove_reference) (
52 GDBusMethodInvocation *invocation,
53 const gchar *arg_reference);
55 gboolean (*handle_request_credentials_update) (
57 GDBusMethodInvocation *invocation,
58 const gchar *arg_message);
60 gboolean (*handle_sign_out) (
62 GDBusMethodInvocation *invocation);
64 gboolean (*handle_store) (
66 GDBusMethodInvocation *invocation,
67 GVariant *arg_unnamed_arg0);
69 gboolean (*handle_verify_secret) (
71 GDBusMethodInvocation *invocation,
72 const gchar *arg_secret);
74 gboolean (*handle_verify_user) (
76 GDBusMethodInvocation *invocation,
77 GVariant *arg_params);
79 void (*info_updated) (
81 gint arg_unnamed_arg0);
83 void (*unregistered) (
88 GType sso_identity_get_type (void) G_GNUC_CONST;
90 GDBusInterfaceInfo *sso_identity_interface_info (void);
91 guint sso_identity_override_properties (GObjectClass *klass, guint property_id_begin);
94 /* D-Bus method call completion functions: */
95 void sso_identity_complete_request_credentials_update (
97 GDBusMethodInvocation *invocation,
100 void sso_identity_complete_get_info (
102 GDBusMethodInvocation *invocation,
103 GVariant *identityInfo);
105 void sso_identity_complete_get_auth_session (
107 GDBusMethodInvocation *invocation,
108 const gchar *objectPath);
110 void sso_identity_complete_verify_user (
112 GDBusMethodInvocation *invocation,
113 gboolean unnamed_arg1);
115 void sso_identity_complete_verify_secret (
117 GDBusMethodInvocation *invocation,
118 gboolean unnamed_arg1);
120 void sso_identity_complete_remove (
122 GDBusMethodInvocation *invocation);
124 void sso_identity_complete_sign_out (
126 GDBusMethodInvocation *invocation,
127 gboolean unnamed_arg0);
129 void sso_identity_complete_store (
131 GDBusMethodInvocation *invocation,
134 void sso_identity_complete_add_reference (
136 GDBusMethodInvocation *invocation,
139 void sso_identity_complete_remove_reference (
141 GDBusMethodInvocation *invocation,
146 /* D-Bus signal emissions functions: */
147 void sso_identity_emit_unregistered (
148 SsoIdentity *object);
150 void sso_identity_emit_info_updated (
152 gint arg_unnamed_arg0);
156 /* D-Bus method calls: */
157 void sso_identity_call_request_credentials_update (
159 const gchar *arg_message,
160 GCancellable *cancellable,
161 GAsyncReadyCallback callback,
164 gboolean sso_identity_call_request_credentials_update_finish (
166 guint *out_unnamed_arg1,
170 gboolean sso_identity_call_request_credentials_update_sync (
172 const gchar *arg_message,
173 guint *out_unnamed_arg1,
174 GCancellable *cancellable,
177 void sso_identity_call_get_info (
179 GCancellable *cancellable,
180 GAsyncReadyCallback callback,
183 gboolean sso_identity_call_get_info_finish (
185 GVariant **out_identityInfo,
189 gboolean sso_identity_call_get_info_sync (
191 GVariant **out_identityInfo,
192 GCancellable *cancellable,
195 void sso_identity_call_get_auth_session (
197 const gchar *arg_method,
198 GCancellable *cancellable,
199 GAsyncReadyCallback callback,
202 gboolean sso_identity_call_get_auth_session_finish (
204 gchar **out_objectPath,
208 gboolean sso_identity_call_get_auth_session_sync (
210 const gchar *arg_method,
211 gchar **out_objectPath,
212 GCancellable *cancellable,
215 void sso_identity_call_verify_user (
217 GVariant *arg_params,
218 GCancellable *cancellable,
219 GAsyncReadyCallback callback,
222 gboolean sso_identity_call_verify_user_finish (
224 gboolean *out_unnamed_arg1,
228 gboolean sso_identity_call_verify_user_sync (
230 GVariant *arg_params,
231 gboolean *out_unnamed_arg1,
232 GCancellable *cancellable,
235 void sso_identity_call_verify_secret (
237 const gchar *arg_secret,
238 GCancellable *cancellable,
239 GAsyncReadyCallback callback,
242 gboolean sso_identity_call_verify_secret_finish (
244 gboolean *out_unnamed_arg1,
248 gboolean sso_identity_call_verify_secret_sync (
250 const gchar *arg_secret,
251 gboolean *out_unnamed_arg1,
252 GCancellable *cancellable,
255 void sso_identity_call_remove (
257 GCancellable *cancellable,
258 GAsyncReadyCallback callback,
261 gboolean sso_identity_call_remove_finish (
266 gboolean sso_identity_call_remove_sync (
268 GCancellable *cancellable,
271 void sso_identity_call_sign_out (
273 GCancellable *cancellable,
274 GAsyncReadyCallback callback,
277 gboolean sso_identity_call_sign_out_finish (
279 gboolean *out_unnamed_arg0,
283 gboolean sso_identity_call_sign_out_sync (
285 gboolean *out_unnamed_arg0,
286 GCancellable *cancellable,
289 void sso_identity_call_store (
291 GVariant *arg_unnamed_arg0,
292 GCancellable *cancellable,
293 GAsyncReadyCallback callback,
296 gboolean sso_identity_call_store_finish (
298 guint *out_unnamed_arg1,
302 gboolean sso_identity_call_store_sync (
304 GVariant *arg_unnamed_arg0,
305 guint *out_unnamed_arg1,
306 GCancellable *cancellable,
309 void sso_identity_call_add_reference (
311 const gchar *arg_reference,
312 GCancellable *cancellable,
313 GAsyncReadyCallback callback,
316 gboolean sso_identity_call_add_reference_finish (
318 gint *out_unnamed_arg1,
322 gboolean sso_identity_call_add_reference_sync (
324 const gchar *arg_reference,
325 gint *out_unnamed_arg1,
326 GCancellable *cancellable,
329 void sso_identity_call_remove_reference (
331 const gchar *arg_reference,
332 GCancellable *cancellable,
333 GAsyncReadyCallback callback,
336 gboolean sso_identity_call_remove_reference_finish (
338 gint *out_unnamed_arg1,
342 gboolean sso_identity_call_remove_reference_sync (
344 const gchar *arg_reference,
345 gint *out_unnamed_arg1,
346 GCancellable *cancellable,
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))
360 typedef struct _SsoIdentityProxy SsoIdentityProxy;
361 typedef struct _SsoIdentityProxyClass SsoIdentityProxyClass;
362 typedef struct _SsoIdentityProxyPrivate SsoIdentityProxyPrivate;
364 struct _SsoIdentityProxy
367 GDBusProxy parent_instance;
368 SsoIdentityProxyPrivate *priv;
371 struct _SsoIdentityProxyClass
373 GDBusProxyClass parent_class;
376 GType sso_identity_proxy_get_type (void) G_GNUC_CONST;
378 void sso_identity_proxy_new (
379 GDBusConnection *connection,
380 GDBusProxyFlags flags,
382 const gchar *object_path,
383 GCancellable *cancellable,
384 GAsyncReadyCallback callback,
386 SsoIdentity *sso_identity_proxy_new_finish (
389 SsoIdentity *sso_identity_proxy_new_sync (
390 GDBusConnection *connection,
391 GDBusProxyFlags flags,
393 const gchar *object_path,
394 GCancellable *cancellable,
397 void sso_identity_proxy_new_for_bus (
399 GDBusProxyFlags flags,
401 const gchar *object_path,
402 GCancellable *cancellable,
403 GAsyncReadyCallback callback,
405 SsoIdentity *sso_identity_proxy_new_for_bus_finish (
408 SsoIdentity *sso_identity_proxy_new_for_bus_sync (
410 GDBusProxyFlags flags,
412 const gchar *object_path,
413 GCancellable *cancellable,
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))
426 typedef struct _SsoIdentitySkeleton SsoIdentitySkeleton;
427 typedef struct _SsoIdentitySkeletonClass SsoIdentitySkeletonClass;
428 typedef struct _SsoIdentitySkeletonPrivate SsoIdentitySkeletonPrivate;
430 struct _SsoIdentitySkeleton
433 GDBusInterfaceSkeleton parent_instance;
434 SsoIdentitySkeletonPrivate *priv;
437 struct _SsoIdentitySkeletonClass
439 GDBusInterfaceSkeletonClass parent_class;
442 GType sso_identity_skeleton_get_type (void) G_GNUC_CONST;
444 SsoIdentity *sso_identity_skeleton_new (void);
449 #endif /* __SSO_IDENTITY_GEN_H__ */