5732deae86321242d769190cf7c45f49249da895
[profile/ivi/gsignond.git] / src / daemon / dbus / gsignond-dbus-remote-plugin-gen.h
1 /*
2  * Generated by gdbus-codegen 2.34.1. 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 __GSIGNOND_DBUS_REMOTE_PLUGIN_GEN_H__
8 #define __GSIGNOND_DBUS_REMOTE_PLUGIN_GEN_H__
9
10 #include <gio/gio.h>
11
12 G_BEGIN_DECLS
13
14
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for com.google.code.AccountsSSO.gSingleSignOn.RemotePlugin */
17
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))
22
23 struct _GSignondDbusRemotePlugin;
24 typedef struct _GSignondDbusRemotePlugin GSignondDbusRemotePlugin;
25 typedef struct _GSignondDbusRemotePluginIface GSignondDbusRemotePluginIface;
26
27 struct _GSignondDbusRemotePluginIface
28 {
29   GTypeInterface parent_iface;
30
31
32   gboolean (*handle_cancel) (
33     GSignondDbusRemotePlugin *object,
34     GDBusMethodInvocation *invocation);
35
36   gboolean (*handle_get_info) (
37     GSignondDbusRemotePlugin *object,
38     GDBusMethodInvocation *invocation);
39
40   gboolean (*handle_refresh) (
41     GSignondDbusRemotePlugin *object,
42     GDBusMethodInvocation *invocation,
43     GVariant *arg_uiData);
44
45   gboolean (*handle_request) (
46     GSignondDbusRemotePlugin *object,
47     GDBusMethodInvocation *invocation,
48     GVariant *arg_sessionData);
49
50   gboolean (*handle_request_initial) (
51     GSignondDbusRemotePlugin *object,
52     GDBusMethodInvocation *invocation,
53     GVariant *arg_sessionData,
54     GVariant *arg_identityMethodCache,
55     const gchar *arg_mechanism);
56
57   gboolean (*handle_user_action_finished) (
58     GSignondDbusRemotePlugin *object,
59     GDBusMethodInvocation *invocation,
60     GVariant *arg_uiData);
61
62   void (*error) (
63     GSignondDbusRemotePlugin *object,
64     GVariant *arg_error);
65
66   void (*refreshed) (
67     GSignondDbusRemotePlugin *object,
68     GVariant *arg_uiData);
69
70   void (*response) (
71     GSignondDbusRemotePlugin *object,
72     GVariant *arg_sessionData);
73
74   void (*response_final) (
75     GSignondDbusRemotePlugin *object,
76     GVariant *arg_sessionData);
77
78   void (*status_changed) (
79     GSignondDbusRemotePlugin *object,
80     gint arg_state,
81     const gchar *arg_message);
82
83   void (*store) (
84     GSignondDbusRemotePlugin *object,
85     GVariant *arg_sessionData);
86
87   void (*user_action_required) (
88     GSignondDbusRemotePlugin *object,
89     GVariant *arg_uiData);
90
91 };
92
93 GType gsignond_dbus_remote_plugin_get_type (void) G_GNUC_CONST;
94
95 GDBusInterfaceInfo *gsignond_dbus_remote_plugin_interface_info (void);
96 guint gsignond_dbus_remote_plugin_override_properties (GObjectClass *klass, guint property_id_begin);
97
98
99 /* D-Bus method call completion functions: */
100 void gsignond_dbus_remote_plugin_complete_cancel (
101     GSignondDbusRemotePlugin *object,
102     GDBusMethodInvocation *invocation);
103
104 void gsignond_dbus_remote_plugin_complete_request_initial (
105     GSignondDbusRemotePlugin *object,
106     GDBusMethodInvocation *invocation);
107
108 void gsignond_dbus_remote_plugin_complete_request (
109     GSignondDbusRemotePlugin *object,
110     GDBusMethodInvocation *invocation);
111
112 void gsignond_dbus_remote_plugin_complete_user_action_finished (
113     GSignondDbusRemotePlugin *object,
114     GDBusMethodInvocation *invocation);
115
116 void gsignond_dbus_remote_plugin_complete_refresh (
117     GSignondDbusRemotePlugin *object,
118     GDBusMethodInvocation *invocation);
119
120 void gsignond_dbus_remote_plugin_complete_get_info (
121     GSignondDbusRemotePlugin *object,
122     GDBusMethodInvocation *invocation,
123     const gchar *type,
124     const gchar *const *mechanisms);
125
126
127
128 /* D-Bus signal emissions functions: */
129 void gsignond_dbus_remote_plugin_emit_response (
130     GSignondDbusRemotePlugin *object,
131     GVariant *arg_sessionData);
132
133 void gsignond_dbus_remote_plugin_emit_response_final (
134     GSignondDbusRemotePlugin *object,
135     GVariant *arg_sessionData);
136
137 void gsignond_dbus_remote_plugin_emit_store (
138     GSignondDbusRemotePlugin *object,
139     GVariant *arg_sessionData);
140
141 void gsignond_dbus_remote_plugin_emit_error (
142     GSignondDbusRemotePlugin *object,
143     GVariant *arg_error);
144
145 void gsignond_dbus_remote_plugin_emit_user_action_required (
146     GSignondDbusRemotePlugin *object,
147     GVariant *arg_uiData);
148
149 void gsignond_dbus_remote_plugin_emit_refreshed (
150     GSignondDbusRemotePlugin *object,
151     GVariant *arg_uiData);
152
153 void gsignond_dbus_remote_plugin_emit_status_changed (
154     GSignondDbusRemotePlugin *object,
155     gint arg_state,
156     const gchar *arg_message);
157
158
159
160 /* D-Bus method calls: */
161 void gsignond_dbus_remote_plugin_call_cancel (
162     GSignondDbusRemotePlugin *proxy,
163     GCancellable *cancellable,
164     GAsyncReadyCallback callback,
165     gpointer user_data);
166
167 gboolean gsignond_dbus_remote_plugin_call_cancel_finish (
168     GSignondDbusRemotePlugin *proxy,
169     GAsyncResult *res,
170     GError **error);
171
172 gboolean gsignond_dbus_remote_plugin_call_cancel_sync (
173     GSignondDbusRemotePlugin *proxy,
174     GCancellable *cancellable,
175     GError **error);
176
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,
184     gpointer user_data);
185
186 gboolean gsignond_dbus_remote_plugin_call_request_initial_finish (
187     GSignondDbusRemotePlugin *proxy,
188     GAsyncResult *res,
189     GError **error);
190
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,
197     GError **error);
198
199 void gsignond_dbus_remote_plugin_call_request (
200     GSignondDbusRemotePlugin *proxy,
201     GVariant *arg_sessionData,
202     GCancellable *cancellable,
203     GAsyncReadyCallback callback,
204     gpointer user_data);
205
206 gboolean gsignond_dbus_remote_plugin_call_request_finish (
207     GSignondDbusRemotePlugin *proxy,
208     GAsyncResult *res,
209     GError **error);
210
211 gboolean gsignond_dbus_remote_plugin_call_request_sync (
212     GSignondDbusRemotePlugin *proxy,
213     GVariant *arg_sessionData,
214     GCancellable *cancellable,
215     GError **error);
216
217 void gsignond_dbus_remote_plugin_call_user_action_finished (
218     GSignondDbusRemotePlugin *proxy,
219     GVariant *arg_uiData,
220     GCancellable *cancellable,
221     GAsyncReadyCallback callback,
222     gpointer user_data);
223
224 gboolean gsignond_dbus_remote_plugin_call_user_action_finished_finish (
225     GSignondDbusRemotePlugin *proxy,
226     GAsyncResult *res,
227     GError **error);
228
229 gboolean gsignond_dbus_remote_plugin_call_user_action_finished_sync (
230     GSignondDbusRemotePlugin *proxy,
231     GVariant *arg_uiData,
232     GCancellable *cancellable,
233     GError **error);
234
235 void gsignond_dbus_remote_plugin_call_refresh (
236     GSignondDbusRemotePlugin *proxy,
237     GVariant *arg_uiData,
238     GCancellable *cancellable,
239     GAsyncReadyCallback callback,
240     gpointer user_data);
241
242 gboolean gsignond_dbus_remote_plugin_call_refresh_finish (
243     GSignondDbusRemotePlugin *proxy,
244     GAsyncResult *res,
245     GError **error);
246
247 gboolean gsignond_dbus_remote_plugin_call_refresh_sync (
248     GSignondDbusRemotePlugin *proxy,
249     GVariant *arg_uiData,
250     GCancellable *cancellable,
251     GError **error);
252
253 void gsignond_dbus_remote_plugin_call_get_info (
254     GSignondDbusRemotePlugin *proxy,
255     GCancellable *cancellable,
256     GAsyncReadyCallback callback,
257     gpointer user_data);
258
259 gboolean gsignond_dbus_remote_plugin_call_get_info_finish (
260     GSignondDbusRemotePlugin *proxy,
261     gchar **out_type,
262     gchar ***out_mechanisms,
263     GAsyncResult *res,
264     GError **error);
265
266 gboolean gsignond_dbus_remote_plugin_call_get_info_sync (
267     GSignondDbusRemotePlugin *proxy,
268     gchar **out_type,
269     gchar ***out_mechanisms,
270     GCancellable *cancellable,
271     GError **error);
272
273
274
275 /* ---- */
276
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))
283
284 typedef struct _GSignondDbusRemotePluginProxy GSignondDbusRemotePluginProxy;
285 typedef struct _GSignondDbusRemotePluginProxyClass GSignondDbusRemotePluginProxyClass;
286 typedef struct _GSignondDbusRemotePluginProxyPrivate GSignondDbusRemotePluginProxyPrivate;
287
288 struct _GSignondDbusRemotePluginProxy
289 {
290   /*< private >*/
291   GDBusProxy parent_instance;
292   GSignondDbusRemotePluginProxyPrivate *priv;
293 };
294
295 struct _GSignondDbusRemotePluginProxyClass
296 {
297   GDBusProxyClass parent_class;
298 };
299
300 GType gsignond_dbus_remote_plugin_proxy_get_type (void) G_GNUC_CONST;
301
302 void gsignond_dbus_remote_plugin_proxy_new (
303     GDBusConnection     *connection,
304     GDBusProxyFlags      flags,
305     const gchar         *name,
306     const gchar         *object_path,
307     GCancellable        *cancellable,
308     GAsyncReadyCallback  callback,
309     gpointer             user_data);
310 GSignondDbusRemotePlugin *gsignond_dbus_remote_plugin_proxy_new_finish (
311     GAsyncResult        *res,
312     GError             **error);
313 GSignondDbusRemotePlugin *gsignond_dbus_remote_plugin_proxy_new_sync (
314     GDBusConnection     *connection,
315     GDBusProxyFlags      flags,
316     const gchar         *name,
317     const gchar         *object_path,
318     GCancellable        *cancellable,
319     GError             **error);
320
321 void gsignond_dbus_remote_plugin_proxy_new_for_bus (
322     GBusType             bus_type,
323     GDBusProxyFlags      flags,
324     const gchar         *name,
325     const gchar         *object_path,
326     GCancellable        *cancellable,
327     GAsyncReadyCallback  callback,
328     gpointer             user_data);
329 GSignondDbusRemotePlugin *gsignond_dbus_remote_plugin_proxy_new_for_bus_finish (
330     GAsyncResult        *res,
331     GError             **error);
332 GSignondDbusRemotePlugin *gsignond_dbus_remote_plugin_proxy_new_for_bus_sync (
333     GBusType             bus_type,
334     GDBusProxyFlags      flags,
335     const gchar         *name,
336     const gchar         *object_path,
337     GCancellable        *cancellable,
338     GError             **error);
339
340
341 /* ---- */
342
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))
349
350 typedef struct _GSignondDbusRemotePluginSkeleton GSignondDbusRemotePluginSkeleton;
351 typedef struct _GSignondDbusRemotePluginSkeletonClass GSignondDbusRemotePluginSkeletonClass;
352 typedef struct _GSignondDbusRemotePluginSkeletonPrivate GSignondDbusRemotePluginSkeletonPrivate;
353
354 struct _GSignondDbusRemotePluginSkeleton
355 {
356   /*< private >*/
357   GDBusInterfaceSkeleton parent_instance;
358   GSignondDbusRemotePluginSkeletonPrivate *priv;
359 };
360
361 struct _GSignondDbusRemotePluginSkeletonClass
362 {
363   GDBusInterfaceSkeletonClass parent_class;
364 };
365
366 GType gsignond_dbus_remote_plugin_skeleton_get_type (void) G_GNUC_CONST;
367
368 GSignondDbusRemotePlugin *gsignond_dbus_remote_plugin_skeleton_new (void);
369
370
371 G_END_DECLS
372
373 #endif /* __GSIGNOND_DBUS_REMOTE_PLUGIN_GEN_H__ */