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_AUTH_SERVICE_GEN_H__
8 #define __SSO_AUTH_SERVICE_GEN_H__
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for com.google.code.AccountsSSO.gSingleSignOn.AuthService */
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))
23 struct _SsoAuthService;
24 typedef struct _SsoAuthService SsoAuthService;
25 typedef struct _SsoAuthServiceIface SsoAuthServiceIface;
27 struct _SsoAuthServiceIface
29 GTypeInterface parent_iface;
31 gboolean (*handle_backup_finished) (
32 SsoAuthService *object,
33 GDBusMethodInvocation *invocation);
35 gboolean (*handle_backup_starts) (
36 SsoAuthService *object,
37 GDBusMethodInvocation *invocation);
39 gboolean (*handle_clear) (
40 SsoAuthService *object,
41 GDBusMethodInvocation *invocation);
43 gboolean (*handle_get_identity) (
44 SsoAuthService *object,
45 GDBusMethodInvocation *invocation,
47 const gchar *arg_applicationContext);
49 gboolean (*handle_query_identities) (
50 SsoAuthService *object,
51 GDBusMethodInvocation *invocation,
53 const gchar *arg_applicationContext);
55 gboolean (*handle_query_mechanisms) (
56 SsoAuthService *object,
57 GDBusMethodInvocation *invocation,
58 const gchar *arg_method);
60 gboolean (*handle_query_methods) (
61 SsoAuthService *object,
62 GDBusMethodInvocation *invocation);
64 gboolean (*handle_register_new_identity) (
65 SsoAuthService *object,
66 GDBusMethodInvocation *invocation,
67 const gchar *arg_applicationContext);
69 gboolean (*handle_restore_finished) (
70 SsoAuthService *object,
71 GDBusMethodInvocation *invocation);
73 gboolean (*handle_restore_starts) (
74 SsoAuthService *object,
75 GDBusMethodInvocation *invocation);
79 GType sso_auth_service_get_type (void) G_GNUC_CONST;
81 GDBusInterfaceInfo *sso_auth_service_interface_info (void);
82 guint sso_auth_service_override_properties (GObjectClass *klass, guint property_id_begin);
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);
91 void sso_auth_service_complete_get_identity (
92 SsoAuthService *object,
93 GDBusMethodInvocation *invocation,
94 const gchar *objectPath,
95 GVariant *identityData);
97 void sso_auth_service_complete_query_methods (
98 SsoAuthService *object,
99 GDBusMethodInvocation *invocation,
100 const gchar *const *authMethods);
102 void sso_auth_service_complete_query_mechanisms (
103 SsoAuthService *object,
104 GDBusMethodInvocation *invocation,
105 const gchar *const *mechanisms);
107 void sso_auth_service_complete_query_identities (
108 SsoAuthService *object,
109 GDBusMethodInvocation *invocation,
110 GVariant *identities);
112 void sso_auth_service_complete_clear (
113 SsoAuthService *object,
114 GDBusMethodInvocation *invocation,
115 gboolean unnamed_arg0);
117 void sso_auth_service_complete_backup_starts (
118 SsoAuthService *object,
119 GDBusMethodInvocation *invocation,
120 guchar unnamed_arg0);
122 void sso_auth_service_complete_backup_finished (
123 SsoAuthService *object,
124 GDBusMethodInvocation *invocation,
125 guchar unnamed_arg0);
127 void sso_auth_service_complete_restore_starts (
128 SsoAuthService *object,
129 GDBusMethodInvocation *invocation,
130 guchar unnamed_arg0);
132 void sso_auth_service_complete_restore_finished (
133 SsoAuthService *object,
134 GDBusMethodInvocation *invocation,
135 guchar unnamed_arg0);
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,
147 gboolean sso_auth_service_call_register_new_identity_finish (
148 SsoAuthService *proxy,
149 gchar **out_objectPath,
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,
160 void sso_auth_service_call_get_identity (
161 SsoAuthService *proxy,
163 const gchar *arg_applicationContext,
164 GCancellable *cancellable,
165 GAsyncReadyCallback callback,
168 gboolean sso_auth_service_call_get_identity_finish (
169 SsoAuthService *proxy,
170 gchar **out_objectPath,
171 GVariant **out_identityData,
175 gboolean sso_auth_service_call_get_identity_sync (
176 SsoAuthService *proxy,
178 const gchar *arg_applicationContext,
179 gchar **out_objectPath,
180 GVariant **out_identityData,
181 GCancellable *cancellable,
184 void sso_auth_service_call_query_methods (
185 SsoAuthService *proxy,
186 GCancellable *cancellable,
187 GAsyncReadyCallback callback,
190 gboolean sso_auth_service_call_query_methods_finish (
191 SsoAuthService *proxy,
192 gchar ***out_authMethods,
196 gboolean sso_auth_service_call_query_methods_sync (
197 SsoAuthService *proxy,
198 gchar ***out_authMethods,
199 GCancellable *cancellable,
202 void sso_auth_service_call_query_mechanisms (
203 SsoAuthService *proxy,
204 const gchar *arg_method,
205 GCancellable *cancellable,
206 GAsyncReadyCallback callback,
209 gboolean sso_auth_service_call_query_mechanisms_finish (
210 SsoAuthService *proxy,
211 gchar ***out_mechanisms,
215 gboolean sso_auth_service_call_query_mechanisms_sync (
216 SsoAuthService *proxy,
217 const gchar *arg_method,
218 gchar ***out_mechanisms,
219 GCancellable *cancellable,
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,
230 gboolean sso_auth_service_call_query_identities_finish (
231 SsoAuthService *proxy,
232 GVariant **out_identities,
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,
244 void sso_auth_service_call_clear (
245 SsoAuthService *proxy,
246 GCancellable *cancellable,
247 GAsyncReadyCallback callback,
250 gboolean sso_auth_service_call_clear_finish (
251 SsoAuthService *proxy,
252 gboolean *out_unnamed_arg0,
256 gboolean sso_auth_service_call_clear_sync (
257 SsoAuthService *proxy,
258 gboolean *out_unnamed_arg0,
259 GCancellable *cancellable,
262 void sso_auth_service_call_backup_starts (
263 SsoAuthService *proxy,
264 GCancellable *cancellable,
265 GAsyncReadyCallback callback,
268 gboolean sso_auth_service_call_backup_starts_finish (
269 SsoAuthService *proxy,
270 guchar *out_unnamed_arg0,
274 gboolean sso_auth_service_call_backup_starts_sync (
275 SsoAuthService *proxy,
276 guchar *out_unnamed_arg0,
277 GCancellable *cancellable,
280 void sso_auth_service_call_backup_finished (
281 SsoAuthService *proxy,
282 GCancellable *cancellable,
283 GAsyncReadyCallback callback,
286 gboolean sso_auth_service_call_backup_finished_finish (
287 SsoAuthService *proxy,
288 guchar *out_unnamed_arg0,
292 gboolean sso_auth_service_call_backup_finished_sync (
293 SsoAuthService *proxy,
294 guchar *out_unnamed_arg0,
295 GCancellable *cancellable,
298 void sso_auth_service_call_restore_starts (
299 SsoAuthService *proxy,
300 GCancellable *cancellable,
301 GAsyncReadyCallback callback,
304 gboolean sso_auth_service_call_restore_starts_finish (
305 SsoAuthService *proxy,
306 guchar *out_unnamed_arg0,
310 gboolean sso_auth_service_call_restore_starts_sync (
311 SsoAuthService *proxy,
312 guchar *out_unnamed_arg0,
313 GCancellable *cancellable,
316 void sso_auth_service_call_restore_finished (
317 SsoAuthService *proxy,
318 GCancellable *cancellable,
319 GAsyncReadyCallback callback,
322 gboolean sso_auth_service_call_restore_finished_finish (
323 SsoAuthService *proxy,
324 guchar *out_unnamed_arg0,
328 gboolean sso_auth_service_call_restore_finished_sync (
329 SsoAuthService *proxy,
330 guchar *out_unnamed_arg0,
331 GCancellable *cancellable,
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))
345 typedef struct _SsoAuthServiceProxy SsoAuthServiceProxy;
346 typedef struct _SsoAuthServiceProxyClass SsoAuthServiceProxyClass;
347 typedef struct _SsoAuthServiceProxyPrivate SsoAuthServiceProxyPrivate;
349 struct _SsoAuthServiceProxy
352 GDBusProxy parent_instance;
353 SsoAuthServiceProxyPrivate *priv;
356 struct _SsoAuthServiceProxyClass
358 GDBusProxyClass parent_class;
361 GType sso_auth_service_proxy_get_type (void) G_GNUC_CONST;
363 void sso_auth_service_proxy_new (
364 GDBusConnection *connection,
365 GDBusProxyFlags flags,
367 const gchar *object_path,
368 GCancellable *cancellable,
369 GAsyncReadyCallback callback,
371 SsoAuthService *sso_auth_service_proxy_new_finish (
374 SsoAuthService *sso_auth_service_proxy_new_sync (
375 GDBusConnection *connection,
376 GDBusProxyFlags flags,
378 const gchar *object_path,
379 GCancellable *cancellable,
382 void sso_auth_service_proxy_new_for_bus (
384 GDBusProxyFlags flags,
386 const gchar *object_path,
387 GCancellable *cancellable,
388 GAsyncReadyCallback callback,
390 SsoAuthService *sso_auth_service_proxy_new_for_bus_finish (
393 SsoAuthService *sso_auth_service_proxy_new_for_bus_sync (
395 GDBusProxyFlags flags,
397 const gchar *object_path,
398 GCancellable *cancellable,
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))
411 typedef struct _SsoAuthServiceSkeleton SsoAuthServiceSkeleton;
412 typedef struct _SsoAuthServiceSkeletonClass SsoAuthServiceSkeletonClass;
413 typedef struct _SsoAuthServiceSkeletonPrivate SsoAuthServiceSkeletonPrivate;
415 struct _SsoAuthServiceSkeleton
418 GDBusInterfaceSkeleton parent_instance;
419 SsoAuthServiceSkeletonPrivate *priv;
422 struct _SsoAuthServiceSkeletonClass
424 GDBusInterfaceSkeletonClass parent_class;
427 GType sso_auth_service_skeleton_get_type (void) G_GNUC_CONST;
429 SsoAuthService *sso_auth_service_skeleton_new (void);
434 #endif /* __SSO_AUTH_SERVICE_GEN_H__ */