Line |
Branch |
Exec |
Source |
1 |
|
|
/* |
2 |
|
|
* This file is generated by gdbus-codegen, do not modify it. |
3 |
|
|
* |
4 |
|
|
* The license of this code is the same as for the D-Bus interface description |
5 |
|
|
* it was derived from. Note that it links to GLib, so must comply with the |
6 |
|
|
* LGPL linking clauses. |
7 |
|
|
*/ |
8 |
|
|
|
9 |
|
|
#ifndef __CC_FPRINTD_GENERATED_H__ |
10 |
|
|
#define __CC_FPRINTD_GENERATED_H__ |
11 |
|
|
|
12 |
|
|
#include <gio/gio.h> |
13 |
|
|
|
14 |
|
|
G_BEGIN_DECLS |
15 |
|
|
|
16 |
|
|
|
17 |
|
|
/* ------------------------------------------------------------------------ */ |
18 |
|
|
/* Declarations for net.reactivated.Fprint.Device */ |
19 |
|
|
|
20 |
|
|
#define CC_FPRINTD_TYPE_DEVICE (cc_fprintd_device_get_type ()) |
21 |
|
|
#define CC_FPRINTD_DEVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_FPRINTD_TYPE_DEVICE, CcFprintdDevice)) |
22 |
|
|
#define CC_FPRINTD_IS_DEVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_FPRINTD_TYPE_DEVICE)) |
23 |
|
|
#define CC_FPRINTD_DEVICE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CC_FPRINTD_TYPE_DEVICE, CcFprintdDeviceIface)) |
24 |
|
|
|
25 |
|
|
struct _CcFprintdDevice; |
26 |
|
|
typedef struct _CcFprintdDevice CcFprintdDevice; |
27 |
|
|
typedef struct _CcFprintdDeviceIface CcFprintdDeviceIface; |
28 |
|
|
|
29 |
|
|
struct _CcFprintdDeviceIface |
30 |
|
|
{ |
31 |
|
|
GTypeInterface parent_iface; |
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
gboolean (*handle_claim) ( |
36 |
|
|
CcFprintdDevice *object, |
37 |
|
|
GDBusMethodInvocation *invocation, |
38 |
|
|
const gchar *arg_username); |
39 |
|
|
|
40 |
|
|
gboolean (*handle_delete_enrolled_fingers) ( |
41 |
|
|
CcFprintdDevice *object, |
42 |
|
|
GDBusMethodInvocation *invocation, |
43 |
|
|
const gchar *arg_username); |
44 |
|
|
|
45 |
|
|
gboolean (*handle_delete_enrolled_fingers2) ( |
46 |
|
|
CcFprintdDevice *object, |
47 |
|
|
GDBusMethodInvocation *invocation); |
48 |
|
|
|
49 |
|
|
gboolean (*handle_enroll_start) ( |
50 |
|
|
CcFprintdDevice *object, |
51 |
|
|
GDBusMethodInvocation *invocation, |
52 |
|
|
const gchar *arg_finger_name); |
53 |
|
|
|
54 |
|
|
gboolean (*handle_enroll_stop) ( |
55 |
|
|
CcFprintdDevice *object, |
56 |
|
|
GDBusMethodInvocation *invocation); |
57 |
|
|
|
58 |
|
|
gboolean (*handle_list_enrolled_fingers) ( |
59 |
|
|
CcFprintdDevice *object, |
60 |
|
|
GDBusMethodInvocation *invocation, |
61 |
|
|
const gchar *arg_username); |
62 |
|
|
|
63 |
|
|
gboolean (*handle_release) ( |
64 |
|
|
CcFprintdDevice *object, |
65 |
|
|
GDBusMethodInvocation *invocation); |
66 |
|
|
|
67 |
|
|
gboolean (*handle_verify_start) ( |
68 |
|
|
CcFprintdDevice *object, |
69 |
|
|
GDBusMethodInvocation *invocation, |
70 |
|
|
const gchar *arg_finger_name); |
71 |
|
|
|
72 |
|
|
gboolean (*handle_verify_stop) ( |
73 |
|
|
CcFprintdDevice *object, |
74 |
|
|
GDBusMethodInvocation *invocation); |
75 |
|
|
|
76 |
|
|
const gchar * (*get_name) (CcFprintdDevice *object); |
77 |
|
|
|
78 |
|
|
gint (*get_num_enroll_stages) (CcFprintdDevice *object); |
79 |
|
|
|
80 |
|
|
const gchar * (*get_scan_type) (CcFprintdDevice *object); |
81 |
|
|
|
82 |
|
|
void (*enroll_status) ( |
83 |
|
|
CcFprintdDevice *object, |
84 |
|
|
const gchar *arg_result, |
85 |
|
|
gboolean arg_done); |
86 |
|
|
|
87 |
|
|
void (*verify_finger_selected) ( |
88 |
|
|
CcFprintdDevice *object, |
89 |
|
|
const gchar *arg_finger_name); |
90 |
|
|
|
91 |
|
|
void (*verify_status) ( |
92 |
|
|
CcFprintdDevice *object, |
93 |
|
|
const gchar *arg_result, |
94 |
|
|
gboolean arg_done); |
95 |
|
|
|
96 |
|
|
}; |
97 |
|
|
|
98 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
99 |
|
✗ |
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcFprintdDevice, g_object_unref) |
100 |
|
|
#endif |
101 |
|
|
|
102 |
|
|
GType cc_fprintd_device_get_type (void) G_GNUC_CONST; |
103 |
|
|
|
104 |
|
|
GDBusInterfaceInfo *cc_fprintd_device_interface_info (void); |
105 |
|
|
guint cc_fprintd_device_override_properties (GObjectClass *klass, guint property_id_begin); |
106 |
|
|
|
107 |
|
|
|
108 |
|
|
/* D-Bus method call completion functions: */ |
109 |
|
|
void cc_fprintd_device_complete_list_enrolled_fingers ( |
110 |
|
|
CcFprintdDevice *object, |
111 |
|
|
GDBusMethodInvocation *invocation, |
112 |
|
|
const gchar *const *enrolled_fingers); |
113 |
|
|
|
114 |
|
|
void cc_fprintd_device_complete_delete_enrolled_fingers ( |
115 |
|
|
CcFprintdDevice *object, |
116 |
|
|
GDBusMethodInvocation *invocation); |
117 |
|
|
|
118 |
|
|
void cc_fprintd_device_complete_delete_enrolled_fingers2 ( |
119 |
|
|
CcFprintdDevice *object, |
120 |
|
|
GDBusMethodInvocation *invocation); |
121 |
|
|
|
122 |
|
|
void cc_fprintd_device_complete_claim ( |
123 |
|
|
CcFprintdDevice *object, |
124 |
|
|
GDBusMethodInvocation *invocation); |
125 |
|
|
|
126 |
|
|
void cc_fprintd_device_complete_release ( |
127 |
|
|
CcFprintdDevice *object, |
128 |
|
|
GDBusMethodInvocation *invocation); |
129 |
|
|
|
130 |
|
|
void cc_fprintd_device_complete_verify_start ( |
131 |
|
|
CcFprintdDevice *object, |
132 |
|
|
GDBusMethodInvocation *invocation); |
133 |
|
|
|
134 |
|
|
void cc_fprintd_device_complete_verify_stop ( |
135 |
|
|
CcFprintdDevice *object, |
136 |
|
|
GDBusMethodInvocation *invocation); |
137 |
|
|
|
138 |
|
|
void cc_fprintd_device_complete_enroll_start ( |
139 |
|
|
CcFprintdDevice *object, |
140 |
|
|
GDBusMethodInvocation *invocation); |
141 |
|
|
|
142 |
|
|
void cc_fprintd_device_complete_enroll_stop ( |
143 |
|
|
CcFprintdDevice *object, |
144 |
|
|
GDBusMethodInvocation *invocation); |
145 |
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
/* D-Bus signal emissions functions: */ |
149 |
|
|
void cc_fprintd_device_emit_verify_finger_selected ( |
150 |
|
|
CcFprintdDevice *object, |
151 |
|
|
const gchar *arg_finger_name); |
152 |
|
|
|
153 |
|
|
void cc_fprintd_device_emit_verify_status ( |
154 |
|
|
CcFprintdDevice *object, |
155 |
|
|
const gchar *arg_result, |
156 |
|
|
gboolean arg_done); |
157 |
|
|
|
158 |
|
|
void cc_fprintd_device_emit_enroll_status ( |
159 |
|
|
CcFprintdDevice *object, |
160 |
|
|
const gchar *arg_result, |
161 |
|
|
gboolean arg_done); |
162 |
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
/* D-Bus method calls: */ |
166 |
|
|
void cc_fprintd_device_call_list_enrolled_fingers ( |
167 |
|
|
CcFprintdDevice *proxy, |
168 |
|
|
const gchar *arg_username, |
169 |
|
|
GCancellable *cancellable, |
170 |
|
|
GAsyncReadyCallback callback, |
171 |
|
|
gpointer user_data); |
172 |
|
|
|
173 |
|
|
gboolean cc_fprintd_device_call_list_enrolled_fingers_finish ( |
174 |
|
|
CcFprintdDevice *proxy, |
175 |
|
|
gchar ***out_enrolled_fingers, |
176 |
|
|
GAsyncResult *res, |
177 |
|
|
GError **error); |
178 |
|
|
|
179 |
|
|
gboolean cc_fprintd_device_call_list_enrolled_fingers_sync ( |
180 |
|
|
CcFprintdDevice *proxy, |
181 |
|
|
const gchar *arg_username, |
182 |
|
|
gchar ***out_enrolled_fingers, |
183 |
|
|
GCancellable *cancellable, |
184 |
|
|
GError **error); |
185 |
|
|
|
186 |
|
|
void cc_fprintd_device_call_delete_enrolled_fingers ( |
187 |
|
|
CcFprintdDevice *proxy, |
188 |
|
|
const gchar *arg_username, |
189 |
|
|
GCancellable *cancellable, |
190 |
|
|
GAsyncReadyCallback callback, |
191 |
|
|
gpointer user_data); |
192 |
|
|
|
193 |
|
|
gboolean cc_fprintd_device_call_delete_enrolled_fingers_finish ( |
194 |
|
|
CcFprintdDevice *proxy, |
195 |
|
|
GAsyncResult *res, |
196 |
|
|
GError **error); |
197 |
|
|
|
198 |
|
|
gboolean cc_fprintd_device_call_delete_enrolled_fingers_sync ( |
199 |
|
|
CcFprintdDevice *proxy, |
200 |
|
|
const gchar *arg_username, |
201 |
|
|
GCancellable *cancellable, |
202 |
|
|
GError **error); |
203 |
|
|
|
204 |
|
|
void cc_fprintd_device_call_delete_enrolled_fingers2 ( |
205 |
|
|
CcFprintdDevice *proxy, |
206 |
|
|
GCancellable *cancellable, |
207 |
|
|
GAsyncReadyCallback callback, |
208 |
|
|
gpointer user_data); |
209 |
|
|
|
210 |
|
|
gboolean cc_fprintd_device_call_delete_enrolled_fingers2_finish ( |
211 |
|
|
CcFprintdDevice *proxy, |
212 |
|
|
GAsyncResult *res, |
213 |
|
|
GError **error); |
214 |
|
|
|
215 |
|
|
gboolean cc_fprintd_device_call_delete_enrolled_fingers2_sync ( |
216 |
|
|
CcFprintdDevice *proxy, |
217 |
|
|
GCancellable *cancellable, |
218 |
|
|
GError **error); |
219 |
|
|
|
220 |
|
|
void cc_fprintd_device_call_claim ( |
221 |
|
|
CcFprintdDevice *proxy, |
222 |
|
|
const gchar *arg_username, |
223 |
|
|
GCancellable *cancellable, |
224 |
|
|
GAsyncReadyCallback callback, |
225 |
|
|
gpointer user_data); |
226 |
|
|
|
227 |
|
|
gboolean cc_fprintd_device_call_claim_finish ( |
228 |
|
|
CcFprintdDevice *proxy, |
229 |
|
|
GAsyncResult *res, |
230 |
|
|
GError **error); |
231 |
|
|
|
232 |
|
|
gboolean cc_fprintd_device_call_claim_sync ( |
233 |
|
|
CcFprintdDevice *proxy, |
234 |
|
|
const gchar *arg_username, |
235 |
|
|
GCancellable *cancellable, |
236 |
|
|
GError **error); |
237 |
|
|
|
238 |
|
|
void cc_fprintd_device_call_release ( |
239 |
|
|
CcFprintdDevice *proxy, |
240 |
|
|
GCancellable *cancellable, |
241 |
|
|
GAsyncReadyCallback callback, |
242 |
|
|
gpointer user_data); |
243 |
|
|
|
244 |
|
|
gboolean cc_fprintd_device_call_release_finish ( |
245 |
|
|
CcFprintdDevice *proxy, |
246 |
|
|
GAsyncResult *res, |
247 |
|
|
GError **error); |
248 |
|
|
|
249 |
|
|
gboolean cc_fprintd_device_call_release_sync ( |
250 |
|
|
CcFprintdDevice *proxy, |
251 |
|
|
GCancellable *cancellable, |
252 |
|
|
GError **error); |
253 |
|
|
|
254 |
|
|
void cc_fprintd_device_call_verify_start ( |
255 |
|
|
CcFprintdDevice *proxy, |
256 |
|
|
const gchar *arg_finger_name, |
257 |
|
|
GCancellable *cancellable, |
258 |
|
|
GAsyncReadyCallback callback, |
259 |
|
|
gpointer user_data); |
260 |
|
|
|
261 |
|
|
gboolean cc_fprintd_device_call_verify_start_finish ( |
262 |
|
|
CcFprintdDevice *proxy, |
263 |
|
|
GAsyncResult *res, |
264 |
|
|
GError **error); |
265 |
|
|
|
266 |
|
|
gboolean cc_fprintd_device_call_verify_start_sync ( |
267 |
|
|
CcFprintdDevice *proxy, |
268 |
|
|
const gchar *arg_finger_name, |
269 |
|
|
GCancellable *cancellable, |
270 |
|
|
GError **error); |
271 |
|
|
|
272 |
|
|
void cc_fprintd_device_call_verify_stop ( |
273 |
|
|
CcFprintdDevice *proxy, |
274 |
|
|
GCancellable *cancellable, |
275 |
|
|
GAsyncReadyCallback callback, |
276 |
|
|
gpointer user_data); |
277 |
|
|
|
278 |
|
|
gboolean cc_fprintd_device_call_verify_stop_finish ( |
279 |
|
|
CcFprintdDevice *proxy, |
280 |
|
|
GAsyncResult *res, |
281 |
|
|
GError **error); |
282 |
|
|
|
283 |
|
|
gboolean cc_fprintd_device_call_verify_stop_sync ( |
284 |
|
|
CcFprintdDevice *proxy, |
285 |
|
|
GCancellable *cancellable, |
286 |
|
|
GError **error); |
287 |
|
|
|
288 |
|
|
void cc_fprintd_device_call_enroll_start ( |
289 |
|
|
CcFprintdDevice *proxy, |
290 |
|
|
const gchar *arg_finger_name, |
291 |
|
|
GCancellable *cancellable, |
292 |
|
|
GAsyncReadyCallback callback, |
293 |
|
|
gpointer user_data); |
294 |
|
|
|
295 |
|
|
gboolean cc_fprintd_device_call_enroll_start_finish ( |
296 |
|
|
CcFprintdDevice *proxy, |
297 |
|
|
GAsyncResult *res, |
298 |
|
|
GError **error); |
299 |
|
|
|
300 |
|
|
gboolean cc_fprintd_device_call_enroll_start_sync ( |
301 |
|
|
CcFprintdDevice *proxy, |
302 |
|
|
const gchar *arg_finger_name, |
303 |
|
|
GCancellable *cancellable, |
304 |
|
|
GError **error); |
305 |
|
|
|
306 |
|
|
void cc_fprintd_device_call_enroll_stop ( |
307 |
|
|
CcFprintdDevice *proxy, |
308 |
|
|
GCancellable *cancellable, |
309 |
|
|
GAsyncReadyCallback callback, |
310 |
|
|
gpointer user_data); |
311 |
|
|
|
312 |
|
|
gboolean cc_fprintd_device_call_enroll_stop_finish ( |
313 |
|
|
CcFprintdDevice *proxy, |
314 |
|
|
GAsyncResult *res, |
315 |
|
|
GError **error); |
316 |
|
|
|
317 |
|
|
gboolean cc_fprintd_device_call_enroll_stop_sync ( |
318 |
|
|
CcFprintdDevice *proxy, |
319 |
|
|
GCancellable *cancellable, |
320 |
|
|
GError **error); |
321 |
|
|
|
322 |
|
|
|
323 |
|
|
|
324 |
|
|
/* D-Bus property accessors: */ |
325 |
|
|
const gchar *cc_fprintd_device_get_name (CcFprintdDevice *object); |
326 |
|
|
gchar *cc_fprintd_device_dup_name (CcFprintdDevice *object); |
327 |
|
|
void cc_fprintd_device_set_name (CcFprintdDevice *object, const gchar *value); |
328 |
|
|
|
329 |
|
|
gint cc_fprintd_device_get_num_enroll_stages (CcFprintdDevice *object); |
330 |
|
|
void cc_fprintd_device_set_num_enroll_stages (CcFprintdDevice *object, gint value); |
331 |
|
|
|
332 |
|
|
const gchar *cc_fprintd_device_get_scan_type (CcFprintdDevice *object); |
333 |
|
|
gchar *cc_fprintd_device_dup_scan_type (CcFprintdDevice *object); |
334 |
|
|
void cc_fprintd_device_set_scan_type (CcFprintdDevice *object, const gchar *value); |
335 |
|
|
|
336 |
|
|
|
337 |
|
|
/* ---- */ |
338 |
|
|
|
339 |
|
|
#define CC_FPRINTD_TYPE_DEVICE_PROXY (cc_fprintd_device_proxy_get_type ()) |
340 |
|
|
#define CC_FPRINTD_DEVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_FPRINTD_TYPE_DEVICE_PROXY, CcFprintdDeviceProxy)) |
341 |
|
|
#define CC_FPRINTD_DEVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_FPRINTD_TYPE_DEVICE_PROXY, CcFprintdDeviceProxyClass)) |
342 |
|
|
#define CC_FPRINTD_DEVICE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_FPRINTD_TYPE_DEVICE_PROXY, CcFprintdDeviceProxyClass)) |
343 |
|
|
#define CC_FPRINTD_IS_DEVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_FPRINTD_TYPE_DEVICE_PROXY)) |
344 |
|
|
#define CC_FPRINTD_IS_DEVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_FPRINTD_TYPE_DEVICE_PROXY)) |
345 |
|
|
|
346 |
|
|
typedef struct _CcFprintdDeviceProxy CcFprintdDeviceProxy; |
347 |
|
|
typedef struct _CcFprintdDeviceProxyClass CcFprintdDeviceProxyClass; |
348 |
|
|
typedef struct _CcFprintdDeviceProxyPrivate CcFprintdDeviceProxyPrivate; |
349 |
|
|
|
350 |
|
|
struct _CcFprintdDeviceProxy |
351 |
|
|
{ |
352 |
|
|
/*< private >*/ |
353 |
|
|
GDBusProxy parent_instance; |
354 |
|
|
CcFprintdDeviceProxyPrivate *priv; |
355 |
|
|
}; |
356 |
|
|
|
357 |
|
|
struct _CcFprintdDeviceProxyClass |
358 |
|
|
{ |
359 |
|
|
GDBusProxyClass parent_class; |
360 |
|
|
}; |
361 |
|
|
|
362 |
|
|
GType cc_fprintd_device_proxy_get_type (void) G_GNUC_CONST; |
363 |
|
|
|
364 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
365 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcFprintdDeviceProxy, g_object_unref) |
366 |
|
|
#endif |
367 |
|
|
|
368 |
|
|
void cc_fprintd_device_proxy_new ( |
369 |
|
|
GDBusConnection *connection, |
370 |
|
|
GDBusProxyFlags flags, |
371 |
|
|
const gchar *name, |
372 |
|
|
const gchar *object_path, |
373 |
|
|
GCancellable *cancellable, |
374 |
|
|
GAsyncReadyCallback callback, |
375 |
|
|
gpointer user_data); |
376 |
|
|
CcFprintdDevice *cc_fprintd_device_proxy_new_finish ( |
377 |
|
|
GAsyncResult *res, |
378 |
|
|
GError **error); |
379 |
|
|
CcFprintdDevice *cc_fprintd_device_proxy_new_sync ( |
380 |
|
|
GDBusConnection *connection, |
381 |
|
|
GDBusProxyFlags flags, |
382 |
|
|
const gchar *name, |
383 |
|
|
const gchar *object_path, |
384 |
|
|
GCancellable *cancellable, |
385 |
|
|
GError **error); |
386 |
|
|
|
387 |
|
|
void cc_fprintd_device_proxy_new_for_bus ( |
388 |
|
|
GBusType bus_type, |
389 |
|
|
GDBusProxyFlags flags, |
390 |
|
|
const gchar *name, |
391 |
|
|
const gchar *object_path, |
392 |
|
|
GCancellable *cancellable, |
393 |
|
|
GAsyncReadyCallback callback, |
394 |
|
|
gpointer user_data); |
395 |
|
|
CcFprintdDevice *cc_fprintd_device_proxy_new_for_bus_finish ( |
396 |
|
|
GAsyncResult *res, |
397 |
|
|
GError **error); |
398 |
|
|
CcFprintdDevice *cc_fprintd_device_proxy_new_for_bus_sync ( |
399 |
|
|
GBusType bus_type, |
400 |
|
|
GDBusProxyFlags flags, |
401 |
|
|
const gchar *name, |
402 |
|
|
const gchar *object_path, |
403 |
|
|
GCancellable *cancellable, |
404 |
|
|
GError **error); |
405 |
|
|
|
406 |
|
|
|
407 |
|
|
/* ---- */ |
408 |
|
|
|
409 |
|
|
#define CC_FPRINTD_TYPE_DEVICE_SKELETON (cc_fprintd_device_skeleton_get_type ()) |
410 |
|
|
#define CC_FPRINTD_DEVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_FPRINTD_TYPE_DEVICE_SKELETON, CcFprintdDeviceSkeleton)) |
411 |
|
|
#define CC_FPRINTD_DEVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_FPRINTD_TYPE_DEVICE_SKELETON, CcFprintdDeviceSkeletonClass)) |
412 |
|
|
#define CC_FPRINTD_DEVICE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_FPRINTD_TYPE_DEVICE_SKELETON, CcFprintdDeviceSkeletonClass)) |
413 |
|
|
#define CC_FPRINTD_IS_DEVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_FPRINTD_TYPE_DEVICE_SKELETON)) |
414 |
|
|
#define CC_FPRINTD_IS_DEVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_FPRINTD_TYPE_DEVICE_SKELETON)) |
415 |
|
|
|
416 |
|
|
typedef struct _CcFprintdDeviceSkeleton CcFprintdDeviceSkeleton; |
417 |
|
|
typedef struct _CcFprintdDeviceSkeletonClass CcFprintdDeviceSkeletonClass; |
418 |
|
|
typedef struct _CcFprintdDeviceSkeletonPrivate CcFprintdDeviceSkeletonPrivate; |
419 |
|
|
|
420 |
|
|
struct _CcFprintdDeviceSkeleton |
421 |
|
|
{ |
422 |
|
|
/*< private >*/ |
423 |
|
|
GDBusInterfaceSkeleton parent_instance; |
424 |
|
|
CcFprintdDeviceSkeletonPrivate *priv; |
425 |
|
|
}; |
426 |
|
|
|
427 |
|
|
struct _CcFprintdDeviceSkeletonClass |
428 |
|
|
{ |
429 |
|
|
GDBusInterfaceSkeletonClass parent_class; |
430 |
|
|
}; |
431 |
|
|
|
432 |
|
|
GType cc_fprintd_device_skeleton_get_type (void) G_GNUC_CONST; |
433 |
|
|
|
434 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
435 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcFprintdDeviceSkeleton, g_object_unref) |
436 |
|
|
#endif |
437 |
|
|
|
438 |
|
|
CcFprintdDevice *cc_fprintd_device_skeleton_new (void); |
439 |
|
|
|
440 |
|
|
|
441 |
|
|
/* ------------------------------------------------------------------------ */ |
442 |
|
|
/* Declarations for net.reactivated.Fprint.Manager */ |
443 |
|
|
|
444 |
|
|
#define CC_FPRINTD_TYPE_MANAGER (cc_fprintd_manager_get_type ()) |
445 |
|
|
#define CC_FPRINTD_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_FPRINTD_TYPE_MANAGER, CcFprintdManager)) |
446 |
|
|
#define CC_FPRINTD_IS_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_FPRINTD_TYPE_MANAGER)) |
447 |
|
|
#define CC_FPRINTD_MANAGER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CC_FPRINTD_TYPE_MANAGER, CcFprintdManagerIface)) |
448 |
|
|
|
449 |
|
|
struct _CcFprintdManager; |
450 |
|
|
typedef struct _CcFprintdManager CcFprintdManager; |
451 |
|
|
typedef struct _CcFprintdManagerIface CcFprintdManagerIface; |
452 |
|
|
|
453 |
|
|
struct _CcFprintdManagerIface |
454 |
|
|
{ |
455 |
|
|
GTypeInterface parent_iface; |
456 |
|
|
|
457 |
|
|
gboolean (*handle_get_default_device) ( |
458 |
|
|
CcFprintdManager *object, |
459 |
|
|
GDBusMethodInvocation *invocation); |
460 |
|
|
|
461 |
|
|
gboolean (*handle_get_devices) ( |
462 |
|
|
CcFprintdManager *object, |
463 |
|
|
GDBusMethodInvocation *invocation); |
464 |
|
|
|
465 |
|
|
}; |
466 |
|
|
|
467 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
468 |
|
✗ |
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcFprintdManager, g_object_unref) |
469 |
|
|
#endif |
470 |
|
|
|
471 |
|
|
GType cc_fprintd_manager_get_type (void) G_GNUC_CONST; |
472 |
|
|
|
473 |
|
|
GDBusInterfaceInfo *cc_fprintd_manager_interface_info (void); |
474 |
|
|
guint cc_fprintd_manager_override_properties (GObjectClass *klass, guint property_id_begin); |
475 |
|
|
|
476 |
|
|
|
477 |
|
|
/* D-Bus method call completion functions: */ |
478 |
|
|
void cc_fprintd_manager_complete_get_devices ( |
479 |
|
|
CcFprintdManager *object, |
480 |
|
|
GDBusMethodInvocation *invocation, |
481 |
|
|
const gchar *const *devices); |
482 |
|
|
|
483 |
|
|
void cc_fprintd_manager_complete_get_default_device ( |
484 |
|
|
CcFprintdManager *object, |
485 |
|
|
GDBusMethodInvocation *invocation, |
486 |
|
|
const gchar *device); |
487 |
|
|
|
488 |
|
|
|
489 |
|
|
|
490 |
|
|
/* D-Bus method calls: */ |
491 |
|
|
void cc_fprintd_manager_call_get_devices ( |
492 |
|
|
CcFprintdManager *proxy, |
493 |
|
|
GCancellable *cancellable, |
494 |
|
|
GAsyncReadyCallback callback, |
495 |
|
|
gpointer user_data); |
496 |
|
|
|
497 |
|
|
gboolean cc_fprintd_manager_call_get_devices_finish ( |
498 |
|
|
CcFprintdManager *proxy, |
499 |
|
|
gchar ***out_devices, |
500 |
|
|
GAsyncResult *res, |
501 |
|
|
GError **error); |
502 |
|
|
|
503 |
|
|
gboolean cc_fprintd_manager_call_get_devices_sync ( |
504 |
|
|
CcFprintdManager *proxy, |
505 |
|
|
gchar ***out_devices, |
506 |
|
|
GCancellable *cancellable, |
507 |
|
|
GError **error); |
508 |
|
|
|
509 |
|
|
void cc_fprintd_manager_call_get_default_device ( |
510 |
|
|
CcFprintdManager *proxy, |
511 |
|
|
GCancellable *cancellable, |
512 |
|
|
GAsyncReadyCallback callback, |
513 |
|
|
gpointer user_data); |
514 |
|
|
|
515 |
|
|
gboolean cc_fprintd_manager_call_get_default_device_finish ( |
516 |
|
|
CcFprintdManager *proxy, |
517 |
|
|
gchar **out_device, |
518 |
|
|
GAsyncResult *res, |
519 |
|
|
GError **error); |
520 |
|
|
|
521 |
|
|
gboolean cc_fprintd_manager_call_get_default_device_sync ( |
522 |
|
|
CcFprintdManager *proxy, |
523 |
|
|
gchar **out_device, |
524 |
|
|
GCancellable *cancellable, |
525 |
|
|
GError **error); |
526 |
|
|
|
527 |
|
|
|
528 |
|
|
|
529 |
|
|
/* ---- */ |
530 |
|
|
|
531 |
|
|
#define CC_FPRINTD_TYPE_MANAGER_PROXY (cc_fprintd_manager_proxy_get_type ()) |
532 |
|
|
#define CC_FPRINTD_MANAGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_FPRINTD_TYPE_MANAGER_PROXY, CcFprintdManagerProxy)) |
533 |
|
|
#define CC_FPRINTD_MANAGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_FPRINTD_TYPE_MANAGER_PROXY, CcFprintdManagerProxyClass)) |
534 |
|
|
#define CC_FPRINTD_MANAGER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_FPRINTD_TYPE_MANAGER_PROXY, CcFprintdManagerProxyClass)) |
535 |
|
|
#define CC_FPRINTD_IS_MANAGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_FPRINTD_TYPE_MANAGER_PROXY)) |
536 |
|
|
#define CC_FPRINTD_IS_MANAGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_FPRINTD_TYPE_MANAGER_PROXY)) |
537 |
|
|
|
538 |
|
|
typedef struct _CcFprintdManagerProxy CcFprintdManagerProxy; |
539 |
|
|
typedef struct _CcFprintdManagerProxyClass CcFprintdManagerProxyClass; |
540 |
|
|
typedef struct _CcFprintdManagerProxyPrivate CcFprintdManagerProxyPrivate; |
541 |
|
|
|
542 |
|
|
struct _CcFprintdManagerProxy |
543 |
|
|
{ |
544 |
|
|
/*< private >*/ |
545 |
|
|
GDBusProxy parent_instance; |
546 |
|
|
CcFprintdManagerProxyPrivate *priv; |
547 |
|
|
}; |
548 |
|
|
|
549 |
|
|
struct _CcFprintdManagerProxyClass |
550 |
|
|
{ |
551 |
|
|
GDBusProxyClass parent_class; |
552 |
|
|
}; |
553 |
|
|
|
554 |
|
|
GType cc_fprintd_manager_proxy_get_type (void) G_GNUC_CONST; |
555 |
|
|
|
556 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
557 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcFprintdManagerProxy, g_object_unref) |
558 |
|
|
#endif |
559 |
|
|
|
560 |
|
|
void cc_fprintd_manager_proxy_new ( |
561 |
|
|
GDBusConnection *connection, |
562 |
|
|
GDBusProxyFlags flags, |
563 |
|
|
const gchar *name, |
564 |
|
|
const gchar *object_path, |
565 |
|
|
GCancellable *cancellable, |
566 |
|
|
GAsyncReadyCallback callback, |
567 |
|
|
gpointer user_data); |
568 |
|
|
CcFprintdManager *cc_fprintd_manager_proxy_new_finish ( |
569 |
|
|
GAsyncResult *res, |
570 |
|
|
GError **error); |
571 |
|
|
CcFprintdManager *cc_fprintd_manager_proxy_new_sync ( |
572 |
|
|
GDBusConnection *connection, |
573 |
|
|
GDBusProxyFlags flags, |
574 |
|
|
const gchar *name, |
575 |
|
|
const gchar *object_path, |
576 |
|
|
GCancellable *cancellable, |
577 |
|
|
GError **error); |
578 |
|
|
|
579 |
|
|
void cc_fprintd_manager_proxy_new_for_bus ( |
580 |
|
|
GBusType bus_type, |
581 |
|
|
GDBusProxyFlags flags, |
582 |
|
|
const gchar *name, |
583 |
|
|
const gchar *object_path, |
584 |
|
|
GCancellable *cancellable, |
585 |
|
|
GAsyncReadyCallback callback, |
586 |
|
|
gpointer user_data); |
587 |
|
|
CcFprintdManager *cc_fprintd_manager_proxy_new_for_bus_finish ( |
588 |
|
|
GAsyncResult *res, |
589 |
|
|
GError **error); |
590 |
|
|
CcFprintdManager *cc_fprintd_manager_proxy_new_for_bus_sync ( |
591 |
|
|
GBusType bus_type, |
592 |
|
|
GDBusProxyFlags flags, |
593 |
|
|
const gchar *name, |
594 |
|
|
const gchar *object_path, |
595 |
|
|
GCancellable *cancellable, |
596 |
|
|
GError **error); |
597 |
|
|
|
598 |
|
|
|
599 |
|
|
/* ---- */ |
600 |
|
|
|
601 |
|
|
#define CC_FPRINTD_TYPE_MANAGER_SKELETON (cc_fprintd_manager_skeleton_get_type ()) |
602 |
|
|
#define CC_FPRINTD_MANAGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_FPRINTD_TYPE_MANAGER_SKELETON, CcFprintdManagerSkeleton)) |
603 |
|
|
#define CC_FPRINTD_MANAGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_FPRINTD_TYPE_MANAGER_SKELETON, CcFprintdManagerSkeletonClass)) |
604 |
|
|
#define CC_FPRINTD_MANAGER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_FPRINTD_TYPE_MANAGER_SKELETON, CcFprintdManagerSkeletonClass)) |
605 |
|
|
#define CC_FPRINTD_IS_MANAGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_FPRINTD_TYPE_MANAGER_SKELETON)) |
606 |
|
|
#define CC_FPRINTD_IS_MANAGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_FPRINTD_TYPE_MANAGER_SKELETON)) |
607 |
|
|
|
608 |
|
|
typedef struct _CcFprintdManagerSkeleton CcFprintdManagerSkeleton; |
609 |
|
|
typedef struct _CcFprintdManagerSkeletonClass CcFprintdManagerSkeletonClass; |
610 |
|
|
typedef struct _CcFprintdManagerSkeletonPrivate CcFprintdManagerSkeletonPrivate; |
611 |
|
|
|
612 |
|
|
struct _CcFprintdManagerSkeleton |
613 |
|
|
{ |
614 |
|
|
/*< private >*/ |
615 |
|
|
GDBusInterfaceSkeleton parent_instance; |
616 |
|
|
CcFprintdManagerSkeletonPrivate *priv; |
617 |
|
|
}; |
618 |
|
|
|
619 |
|
|
struct _CcFprintdManagerSkeletonClass |
620 |
|
|
{ |
621 |
|
|
GDBusInterfaceSkeletonClass parent_class; |
622 |
|
|
}; |
623 |
|
|
|
624 |
|
|
GType cc_fprintd_manager_skeleton_get_type (void) G_GNUC_CONST; |
625 |
|
|
|
626 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
627 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcFprintdManagerSkeleton, g_object_unref) |
628 |
|
|
#endif |
629 |
|
|
|
630 |
|
|
CcFprintdManager *cc_fprintd_manager_skeleton_new (void); |
631 |
|
|
|
632 |
|
|
|
633 |
|
|
G_END_DECLS |
634 |
|
|
|
635 |
|
|
#endif /* __CC_FPRINTD_GENERATED_H__ */ |
636 |
|
|
|