2 * Generated by gdbus-codegen 2.34.1. DO NOT EDIT.
4 * The license of this code is the same as for the source it was derived from.
7 #ifndef __GSIGNOND_DBUS_REMOTE_PLUGIN_GEN_H__
8 #define __GSIGNOND_DBUS_REMOTE_PLUGIN_GEN_H__
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for com.google.code.AccountsSSO.gSingleSignOn.RemotePlugin */
18 #define GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN (gsignond_dbus_remote_plugin_get_type ())
19 #define GSIGNOND_DBUS_REMOTE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN, GSignondDbusRemotePlugin))
20 #define GSIGNOND_DBUS_IS_REMOTE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN))
21 #define GSIGNOND_DBUS_REMOTE_PLUGIN_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN, GSignondDbusRemotePluginIface))
23 struct _GSignondDbusRemotePlugin;
24 typedef struct _GSignondDbusRemotePlugin GSignondDbusRemotePlugin;
25 typedef struct _GSignondDbusRemotePluginIface GSignondDbusRemotePluginIface;
27 struct _GSignondDbusRemotePluginIface
29 GTypeInterface parent_iface;
32 gboolean (*handle_cancel) (
33 GSignondDbusRemotePlugin *object,
34 GDBusMethodInvocation *invocation);
36 gboolean (*handle_get_info) (
37 GSignondDbusRemotePlugin *object,
38 GDBusMethodInvocation *invocation);
40 gboolean (*handle_refresh) (
41 GSignondDbusRemotePlugin *object,
42 GDBusMethodInvocation *invocation,
43 GVariant *arg_uiData);
45 gboolean (*handle_request) (
46 GSignondDbusRemotePlugin *object,
47 GDBusMethodInvocation *invocation,
48 GVariant *arg_sessionData);
50 gboolean (*handle_request_initial) (
51 GSignondDbusRemotePlugin *object,
52 GDBusMethodInvocation *invocation,
53 GVariant *arg_sessionData,
54 GVariant *arg_identityMethodCache,
55 const gchar *arg_mechanism);
57 gboolean (*handle_user_action_finished) (
58 GSignondDbusRemotePlugin *object,
59 GDBusMethodInvocation *invocation,
60 GVariant *arg_uiData);
63 GSignondDbusRemotePlugin *object,
67 GSignondDbusRemotePlugin *object,
68 GVariant *arg_uiData);
71 GSignondDbusRemotePlugin *object,
72 GVariant *arg_sessionData);
74 void (*response_final) (
75 GSignondDbusRemotePlugin *object,
76 GVariant *arg_sessionData);
78 void (*status_changed) (
79 GSignondDbusRemotePlugin *object,
81 const gchar *arg_message);
84 GSignondDbusRemotePlugin *object,
85 GVariant *arg_sessionData);
87 void (*user_action_required) (
88 GSignondDbusRemotePlugin *object,
89 GVariant *arg_uiData);
93 GType gsignond_dbus_remote_plugin_get_type (void) G_GNUC_CONST;
95 GDBusInterfaceInfo *gsignond_dbus_remote_plugin_interface_info (void);
96 guint gsignond_dbus_remote_plugin_override_properties (GObjectClass *klass, guint property_id_begin);
99 /* D-Bus method call completion functions: */
100 void gsignond_dbus_remote_plugin_complete_cancel (
101 GSignondDbusRemotePlugin *object,
102 GDBusMethodInvocation *invocation);
104 void gsignond_dbus_remote_plugin_complete_request_initial (
105 GSignondDbusRemotePlugin *object,
106 GDBusMethodInvocation *invocation);
108 void gsignond_dbus_remote_plugin_complete_request (
109 GSignondDbusRemotePlugin *object,
110 GDBusMethodInvocation *invocation);
112 void gsignond_dbus_remote_plugin_complete_user_action_finished (
113 GSignondDbusRemotePlugin *object,
114 GDBusMethodInvocation *invocation);
116 void gsignond_dbus_remote_plugin_complete_refresh (
117 GSignondDbusRemotePlugin *object,
118 GDBusMethodInvocation *invocation);
120 void gsignond_dbus_remote_plugin_complete_get_info (
121 GSignondDbusRemotePlugin *object,
122 GDBusMethodInvocation *invocation,
124 const gchar *const *mechanisms);
128 /* D-Bus signal emissions functions: */
129 void gsignond_dbus_remote_plugin_emit_response (
130 GSignondDbusRemotePlugin *object,
131 GVariant *arg_sessionData);
133 void gsignond_dbus_remote_plugin_emit_response_final (
134 GSignondDbusRemotePlugin *object,
135 GVariant *arg_sessionData);
137 void gsignond_dbus_remote_plugin_emit_store (
138 GSignondDbusRemotePlugin *object,
139 GVariant *arg_sessionData);
141 void gsignond_dbus_remote_plugin_emit_error (
142 GSignondDbusRemotePlugin *object,
143 GVariant *arg_error);
145 void gsignond_dbus_remote_plugin_emit_user_action_required (
146 GSignondDbusRemotePlugin *object,
147 GVariant *arg_uiData);
149 void gsignond_dbus_remote_plugin_emit_refreshed (
150 GSignondDbusRemotePlugin *object,
151 GVariant *arg_uiData);
153 void gsignond_dbus_remote_plugin_emit_status_changed (
154 GSignondDbusRemotePlugin *object,
156 const gchar *arg_message);
160 /* D-Bus method calls: */
161 void gsignond_dbus_remote_plugin_call_cancel (
162 GSignondDbusRemotePlugin *proxy,
163 GCancellable *cancellable,
164 GAsyncReadyCallback callback,
167 gboolean gsignond_dbus_remote_plugin_call_cancel_finish (
168 GSignondDbusRemotePlugin *proxy,
172 gboolean gsignond_dbus_remote_plugin_call_cancel_sync (
173 GSignondDbusRemotePlugin *proxy,
174 GCancellable *cancellable,
177 void gsignond_dbus_remote_plugin_call_request_initial (
178 GSignondDbusRemotePlugin *proxy,
179 GVariant *arg_sessionData,
180 GVariant *arg_identityMethodCache,
181 const gchar *arg_mechanism,
182 GCancellable *cancellable,
183 GAsyncReadyCallback callback,
186 gboolean gsignond_dbus_remote_plugin_call_request_initial_finish (
187 GSignondDbusRemotePlugin *proxy,
191 gboolean gsignond_dbus_remote_plugin_call_request_initial_sync (
192 GSignondDbusRemotePlugin *proxy,
193 GVariant *arg_sessionData,
194 GVariant *arg_identityMethodCache,
195 const gchar *arg_mechanism,
196 GCancellable *cancellable,
199 void gsignond_dbus_remote_plugin_call_request (
200 GSignondDbusRemotePlugin *proxy,
201 GVariant *arg_sessionData,
202 GCancellable *cancellable,
203 GAsyncReadyCallback callback,
206 gboolean gsignond_dbus_remote_plugin_call_request_finish (
207 GSignondDbusRemotePlugin *proxy,
211 gboolean gsignond_dbus_remote_plugin_call_request_sync (
212 GSignondDbusRemotePlugin *proxy,
213 GVariant *arg_sessionData,
214 GCancellable *cancellable,
217 void gsignond_dbus_remote_plugin_call_user_action_finished (
218 GSignondDbusRemotePlugin *proxy,
219 GVariant *arg_uiData,
220 GCancellable *cancellable,
221 GAsyncReadyCallback callback,
224 gboolean gsignond_dbus_remote_plugin_call_user_action_finished_finish (
225 GSignondDbusRemotePlugin *proxy,
229 gboolean gsignond_dbus_remote_plugin_call_user_action_finished_sync (
230 GSignondDbusRemotePlugin *proxy,
231 GVariant *arg_uiData,
232 GCancellable *cancellable,
235 void gsignond_dbus_remote_plugin_call_refresh (
236 GSignondDbusRemotePlugin *proxy,
237 GVariant *arg_uiData,
238 GCancellable *cancellable,
239 GAsyncReadyCallback callback,
242 gboolean gsignond_dbus_remote_plugin_call_refresh_finish (
243 GSignondDbusRemotePlugin *proxy,
247 gboolean gsignond_dbus_remote_plugin_call_refresh_sync (
248 GSignondDbusRemotePlugin *proxy,
249 GVariant *arg_uiData,
250 GCancellable *cancellable,
253 void gsignond_dbus_remote_plugin_call_get_info (
254 GSignondDbusRemotePlugin *proxy,
255 GCancellable *cancellable,
256 GAsyncReadyCallback callback,
259 gboolean gsignond_dbus_remote_plugin_call_get_info_finish (
260 GSignondDbusRemotePlugin *proxy,
262 gchar ***out_mechanisms,
266 gboolean gsignond_dbus_remote_plugin_call_get_info_sync (
267 GSignondDbusRemotePlugin *proxy,
269 gchar ***out_mechanisms,
270 GCancellable *cancellable,
277 #define GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_PROXY (gsignond_dbus_remote_plugin_proxy_get_type ())
278 #define GSIGNOND_DBUS_REMOTE_PLUGIN_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_PROXY, GSignondDbusRemotePluginProxy))
279 #define GSIGNOND_DBUS_REMOTE_PLUGIN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_PROXY, GSignondDbusRemotePluginProxyClass))
280 #define GSIGNOND_DBUS_REMOTE_PLUGIN_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_PROXY, GSignondDbusRemotePluginProxyClass))
281 #define GSIGNOND_DBUS_IS_REMOTE_PLUGIN_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_PROXY))
282 #define GSIGNOND_DBUS_IS_REMOTE_PLUGIN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_PROXY))
284 typedef struct _GSignondDbusRemotePluginProxy GSignondDbusRemotePluginProxy;
285 typedef struct _GSignondDbusRemotePluginProxyClass GSignondDbusRemotePluginProxyClass;
286 typedef struct _GSignondDbusRemotePluginProxyPrivate GSignondDbusRemotePluginProxyPrivate;
288 struct _GSignondDbusRemotePluginProxy
291 GDBusProxy parent_instance;
292 GSignondDbusRemotePluginProxyPrivate *priv;
295 struct _GSignondDbusRemotePluginProxyClass
297 GDBusProxyClass parent_class;
300 GType gsignond_dbus_remote_plugin_proxy_get_type (void) G_GNUC_CONST;
302 void gsignond_dbus_remote_plugin_proxy_new (
303 GDBusConnection *connection,
304 GDBusProxyFlags flags,
306 const gchar *object_path,
307 GCancellable *cancellable,
308 GAsyncReadyCallback callback,
310 GSignondDbusRemotePlugin *gsignond_dbus_remote_plugin_proxy_new_finish (
313 GSignondDbusRemotePlugin *gsignond_dbus_remote_plugin_proxy_new_sync (
314 GDBusConnection *connection,
315 GDBusProxyFlags flags,
317 const gchar *object_path,
318 GCancellable *cancellable,
321 void gsignond_dbus_remote_plugin_proxy_new_for_bus (
323 GDBusProxyFlags flags,
325 const gchar *object_path,
326 GCancellable *cancellable,
327 GAsyncReadyCallback callback,
329 GSignondDbusRemotePlugin *gsignond_dbus_remote_plugin_proxy_new_for_bus_finish (
332 GSignondDbusRemotePlugin *gsignond_dbus_remote_plugin_proxy_new_for_bus_sync (
334 GDBusProxyFlags flags,
336 const gchar *object_path,
337 GCancellable *cancellable,
343 #define GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_SKELETON (gsignond_dbus_remote_plugin_skeleton_get_type ())
344 #define GSIGNOND_DBUS_REMOTE_PLUGIN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_SKELETON, GSignondDbusRemotePluginSkeleton))
345 #define GSIGNOND_DBUS_REMOTE_PLUGIN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_SKELETON, GSignondDbusRemotePluginSkeletonClass))
346 #define GSIGNOND_DBUS_REMOTE_PLUGIN_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_SKELETON, GSignondDbusRemotePluginSkeletonClass))
347 #define GSIGNOND_DBUS_IS_REMOTE_PLUGIN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_SKELETON))
348 #define GSIGNOND_DBUS_IS_REMOTE_PLUGIN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSIGNOND_DBUS_TYPE_REMOTE_PLUGIN_SKELETON))
350 typedef struct _GSignondDbusRemotePluginSkeleton GSignondDbusRemotePluginSkeleton;
351 typedef struct _GSignondDbusRemotePluginSkeletonClass GSignondDbusRemotePluginSkeletonClass;
352 typedef struct _GSignondDbusRemotePluginSkeletonPrivate GSignondDbusRemotePluginSkeletonPrivate;
354 struct _GSignondDbusRemotePluginSkeleton
357 GDBusInterfaceSkeleton parent_instance;
358 GSignondDbusRemotePluginSkeletonPrivate *priv;
361 struct _GSignondDbusRemotePluginSkeletonClass
363 GDBusInterfaceSkeletonClass parent_class;
366 GType gsignond_dbus_remote_plugin_skeleton_get_type (void) G_GNUC_CONST;
368 GSignondDbusRemotePlugin *gsignond_dbus_remote_plugin_skeleton_new (void);
373 #endif /* __GSIGNOND_DBUS_REMOTE_PLUGIN_GEN_H__ */