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 __GSIGNOND_DBUS_AUTH_SERVICE_GEN_H__
8 #define __GSIGNOND_DBUS_AUTH_SERVICE_GEN_H__
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for com.google.code.AccountsSSO.gSingleSignOn.AuthService */
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))
23 struct _GSignondDbusAuthService;
24 typedef struct _GSignondDbusAuthService GSignondDbusAuthService;
25 typedef struct _GSignondDbusAuthServiceIface GSignondDbusAuthServiceIface;
27 struct _GSignondDbusAuthServiceIface
29 GTypeInterface parent_iface;
31 gboolean (*handle_backup_finished) (
32 GSignondDbusAuthService *object,
33 GDBusMethodInvocation *invocation);
35 gboolean (*handle_backup_starts) (
36 GSignondDbusAuthService *object,
37 GDBusMethodInvocation *invocation);
39 gboolean (*handle_clear) (
40 GSignondDbusAuthService *object,
41 GDBusMethodInvocation *invocation);
43 gboolean (*handle_get_identity) (
44 GSignondDbusAuthService *object,
45 GDBusMethodInvocation *invocation,
47 const gchar *arg_applicationContext);
49 gboolean (*handle_query_identities) (
50 GSignondDbusAuthService *object,
51 GDBusMethodInvocation *invocation,
53 const gchar *arg_applicationContext);
55 gboolean (*handle_query_mechanisms) (
56 GSignondDbusAuthService *object,
57 GDBusMethodInvocation *invocation,
58 const gchar *arg_method);
60 gboolean (*handle_query_methods) (
61 GSignondDbusAuthService *object,
62 GDBusMethodInvocation *invocation);
64 gboolean (*handle_register_new_identity) (
65 GSignondDbusAuthService *object,
66 GDBusMethodInvocation *invocation,
67 const gchar *arg_applicationContext);
69 gboolean (*handle_restore_finished) (
70 GSignondDbusAuthService *object,
71 GDBusMethodInvocation *invocation);
73 gboolean (*handle_restore_starts) (
74 GSignondDbusAuthService *object,
75 GDBusMethodInvocation *invocation);
79 GType gsignond_dbus_auth_service_get_type (void) G_GNUC_CONST;
81 GDBusInterfaceInfo *gsignond_dbus_auth_service_interface_info (void);
82 guint gsignond_dbus_auth_service_override_properties (GObjectClass *klass, guint property_id_begin);
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);
91 void gsignond_dbus_auth_service_complete_get_identity (
92 GSignondDbusAuthService *object,
93 GDBusMethodInvocation *invocation,
94 const gchar *objectPath,
95 GVariant *identityData);
97 void gsignond_dbus_auth_service_complete_query_methods (
98 GSignondDbusAuthService *object,
99 GDBusMethodInvocation *invocation,
100 const gchar *const *authMethods);
102 void gsignond_dbus_auth_service_complete_query_mechanisms (
103 GSignondDbusAuthService *object,
104 GDBusMethodInvocation *invocation,
105 const gchar *const *mechanisms);
107 void gsignond_dbus_auth_service_complete_query_identities (
108 GSignondDbusAuthService *object,
109 GDBusMethodInvocation *invocation,
110 GVariant *identities);
112 void gsignond_dbus_auth_service_complete_clear (
113 GSignondDbusAuthService *object,
114 GDBusMethodInvocation *invocation,
115 gboolean unnamed_arg0);
117 void gsignond_dbus_auth_service_complete_backup_starts (
118 GSignondDbusAuthService *object,
119 GDBusMethodInvocation *invocation,
120 guchar unnamed_arg0);
122 void gsignond_dbus_auth_service_complete_backup_finished (
123 GSignondDbusAuthService *object,
124 GDBusMethodInvocation *invocation,
125 guchar unnamed_arg0);
127 void gsignond_dbus_auth_service_complete_restore_starts (
128 GSignondDbusAuthService *object,
129 GDBusMethodInvocation *invocation,
130 guchar unnamed_arg0);
132 void gsignond_dbus_auth_service_complete_restore_finished (
133 GSignondDbusAuthService *object,
134 GDBusMethodInvocation *invocation,
135 guchar unnamed_arg0);
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,
147 gboolean gsignond_dbus_auth_service_call_register_new_identity_finish (
148 GSignondDbusAuthService *proxy,
149 gchar **out_objectPath,
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,
160 void gsignond_dbus_auth_service_call_get_identity (
161 GSignondDbusAuthService *proxy,
163 const gchar *arg_applicationContext,
164 GCancellable *cancellable,
165 GAsyncReadyCallback callback,
168 gboolean gsignond_dbus_auth_service_call_get_identity_finish (
169 GSignondDbusAuthService *proxy,
170 gchar **out_objectPath,
171 GVariant **out_identityData,
175 gboolean gsignond_dbus_auth_service_call_get_identity_sync (
176 GSignondDbusAuthService *proxy,
178 const gchar *arg_applicationContext,
179 gchar **out_objectPath,
180 GVariant **out_identityData,
181 GCancellable *cancellable,
184 void gsignond_dbus_auth_service_call_query_methods (
185 GSignondDbusAuthService *proxy,
186 GCancellable *cancellable,
187 GAsyncReadyCallback callback,
190 gboolean gsignond_dbus_auth_service_call_query_methods_finish (
191 GSignondDbusAuthService *proxy,
192 gchar ***out_authMethods,
196 gboolean gsignond_dbus_auth_service_call_query_methods_sync (
197 GSignondDbusAuthService *proxy,
198 gchar ***out_authMethods,
199 GCancellable *cancellable,
202 void gsignond_dbus_auth_service_call_query_mechanisms (
203 GSignondDbusAuthService *proxy,
204 const gchar *arg_method,
205 GCancellable *cancellable,
206 GAsyncReadyCallback callback,
209 gboolean gsignond_dbus_auth_service_call_query_mechanisms_finish (
210 GSignondDbusAuthService *proxy,
211 gchar ***out_mechanisms,
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,
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,
230 gboolean gsignond_dbus_auth_service_call_query_identities_finish (
231 GSignondDbusAuthService *proxy,
232 GVariant **out_identities,
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,
244 void gsignond_dbus_auth_service_call_clear (
245 GSignondDbusAuthService *proxy,
246 GCancellable *cancellable,
247 GAsyncReadyCallback callback,
250 gboolean gsignond_dbus_auth_service_call_clear_finish (
251 GSignondDbusAuthService *proxy,
252 gboolean *out_unnamed_arg0,
256 gboolean gsignond_dbus_auth_service_call_clear_sync (
257 GSignondDbusAuthService *proxy,
258 gboolean *out_unnamed_arg0,
259 GCancellable *cancellable,
262 void gsignond_dbus_auth_service_call_backup_starts (
263 GSignondDbusAuthService *proxy,
264 GCancellable *cancellable,
265 GAsyncReadyCallback callback,
268 gboolean gsignond_dbus_auth_service_call_backup_starts_finish (
269 GSignondDbusAuthService *proxy,
270 guchar *out_unnamed_arg0,
274 gboolean gsignond_dbus_auth_service_call_backup_starts_sync (
275 GSignondDbusAuthService *proxy,
276 guchar *out_unnamed_arg0,
277 GCancellable *cancellable,
280 void gsignond_dbus_auth_service_call_backup_finished (
281 GSignondDbusAuthService *proxy,
282 GCancellable *cancellable,
283 GAsyncReadyCallback callback,
286 gboolean gsignond_dbus_auth_service_call_backup_finished_finish (
287 GSignondDbusAuthService *proxy,
288 guchar *out_unnamed_arg0,
292 gboolean gsignond_dbus_auth_service_call_backup_finished_sync (
293 GSignondDbusAuthService *proxy,
294 guchar *out_unnamed_arg0,
295 GCancellable *cancellable,
298 void gsignond_dbus_auth_service_call_restore_starts (
299 GSignondDbusAuthService *proxy,
300 GCancellable *cancellable,
301 GAsyncReadyCallback callback,
304 gboolean gsignond_dbus_auth_service_call_restore_starts_finish (
305 GSignondDbusAuthService *proxy,
306 guchar *out_unnamed_arg0,
310 gboolean gsignond_dbus_auth_service_call_restore_starts_sync (
311 GSignondDbusAuthService *proxy,
312 guchar *out_unnamed_arg0,
313 GCancellable *cancellable,
316 void gsignond_dbus_auth_service_call_restore_finished (
317 GSignondDbusAuthService *proxy,
318 GCancellable *cancellable,
319 GAsyncReadyCallback callback,
322 gboolean gsignond_dbus_auth_service_call_restore_finished_finish (
323 GSignondDbusAuthService *proxy,
324 guchar *out_unnamed_arg0,
328 gboolean gsignond_dbus_auth_service_call_restore_finished_sync (
329 GSignondDbusAuthService *proxy,
330 guchar *out_unnamed_arg0,
331 GCancellable *cancellable,
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))
345 typedef struct _GSignondDbusAuthServiceProxy GSignondDbusAuthServiceProxy;
346 typedef struct _GSignondDbusAuthServiceProxyClass GSignondDbusAuthServiceProxyClass;
347 typedef struct _GSignondDbusAuthServiceProxyPrivate GSignondDbusAuthServiceProxyPrivate;
349 struct _GSignondDbusAuthServiceProxy
352 GDBusProxy parent_instance;
353 GSignondDbusAuthServiceProxyPrivate *priv;
356 struct _GSignondDbusAuthServiceProxyClass
358 GDBusProxyClass parent_class;
361 GType gsignond_dbus_auth_service_proxy_get_type (void) G_GNUC_CONST;
363 void gsignond_dbus_auth_service_proxy_new (
364 GDBusConnection *connection,
365 GDBusProxyFlags flags,
367 const gchar *object_path,
368 GCancellable *cancellable,
369 GAsyncReadyCallback callback,
371 GSignondDbusAuthService *gsignond_dbus_auth_service_proxy_new_finish (
374 GSignondDbusAuthService *gsignond_dbus_auth_service_proxy_new_sync (
375 GDBusConnection *connection,
376 GDBusProxyFlags flags,
378 const gchar *object_path,
379 GCancellable *cancellable,
382 void gsignond_dbus_auth_service_proxy_new_for_bus (
384 GDBusProxyFlags flags,
386 const gchar *object_path,
387 GCancellable *cancellable,
388 GAsyncReadyCallback callback,
390 GSignondDbusAuthService *gsignond_dbus_auth_service_proxy_new_for_bus_finish (
393 GSignondDbusAuthService *gsignond_dbus_auth_service_proxy_new_for_bus_sync (
395 GDBusProxyFlags flags,
397 const gchar *object_path,
398 GCancellable *cancellable,
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))
411 typedef struct _GSignondDbusAuthServiceSkeleton GSignondDbusAuthServiceSkeleton;
412 typedef struct _GSignondDbusAuthServiceSkeletonClass GSignondDbusAuthServiceSkeletonClass;
413 typedef struct _GSignondDbusAuthServiceSkeletonPrivate GSignondDbusAuthServiceSkeletonPrivate;
415 struct _GSignondDbusAuthServiceSkeleton
418 GDBusInterfaceSkeleton parent_instance;
419 GSignondDbusAuthServiceSkeletonPrivate *priv;
422 struct _GSignondDbusAuthServiceSkeletonClass
424 GDBusInterfaceSkeletonClass parent_class;
427 GType gsignond_dbus_auth_service_skeleton_get_type (void) G_GNUC_CONST;
429 GSignondDbusAuthService *gsignond_dbus_auth_service_skeleton_new (void);
434 #endif /* __GSIGNOND_DBUS_AUTH_SERVICE_GEN_H__ */