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