Updated comments and fixed tabbing
[profile/ivi/automotive-message-broker.git] / plugins / common / bluetoothadapterproxy.h
1 /*
2  * Generated by gdbus-codegen 2.32.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 __BLUETOOTHADAPTERPROXY_H__
8 #define __BLUETOOTHADAPTERPROXY_H__
9
10 #include <gio/gio.h>
11
12 G_BEGIN_DECLS
13
14
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for org.bluez.Adapter */
17
18 #define TYPE_ORG_BLUEZ_ADAPTER (org_bluez_adapter_get_type ())
19 #define ORG_BLUEZ_ADAPTER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_BLUEZ_ADAPTER, OrgBluezAdapter))
20 #define IS_ORG_BLUEZ_ADAPTER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_BLUEZ_ADAPTER))
21 #define ORG_BLUEZ_ADAPTER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_BLUEZ_ADAPTER, OrgBluezAdapterIface))
22
23 struct _OrgBluezAdapter;
24 typedef struct _OrgBluezAdapter OrgBluezAdapter;
25 typedef struct _OrgBluezAdapterIface OrgBluezAdapterIface;
26
27 struct _OrgBluezAdapterIface
28 {
29   GTypeInterface parent_iface;
30
31
32   gboolean (*handle_cancel_device_creation) (
33     OrgBluezAdapter *object,
34     GDBusMethodInvocation *invocation,
35     const gchar *arg_unnamed_arg0);
36
37   gboolean (*handle_create_device) (
38     OrgBluezAdapter *object,
39     GDBusMethodInvocation *invocation,
40     const gchar *arg_unnamed_arg0);
41
42   gboolean (*handle_create_paired_device) (
43     OrgBluezAdapter *object,
44     GDBusMethodInvocation *invocation,
45     const gchar *arg_unnamed_arg0,
46     const gchar *arg_unnamed_arg1,
47     const gchar *arg_unnamed_arg2);
48
49   gboolean (*handle_find_device) (
50     OrgBluezAdapter *object,
51     GDBusMethodInvocation *invocation,
52     const gchar *arg_unnamed_arg0);
53
54   gboolean (*handle_get_properties) (
55     OrgBluezAdapter *object,
56     GDBusMethodInvocation *invocation);
57
58   gboolean (*handle_list_devices) (
59     OrgBluezAdapter *object,
60     GDBusMethodInvocation *invocation);
61
62   gboolean (*handle_register_agent) (
63     OrgBluezAdapter *object,
64     GDBusMethodInvocation *invocation,
65     const gchar *arg_unnamed_arg0,
66     const gchar *arg_unnamed_arg1);
67
68   gboolean (*handle_release_session) (
69     OrgBluezAdapter *object,
70     GDBusMethodInvocation *invocation);
71
72   gboolean (*handle_remove_device) (
73     OrgBluezAdapter *object,
74     GDBusMethodInvocation *invocation,
75     const gchar *arg_unnamed_arg0);
76
77   gboolean (*handle_request_session) (
78     OrgBluezAdapter *object,
79     GDBusMethodInvocation *invocation);
80
81   gboolean (*handle_set_property) (
82     OrgBluezAdapter *object,
83     GDBusMethodInvocation *invocation,
84     const gchar *arg_unnamed_arg0,
85     GVariant *arg_unnamed_arg1);
86
87   gboolean (*handle_start_discovery) (
88     OrgBluezAdapter *object,
89     GDBusMethodInvocation *invocation);
90
91   gboolean (*handle_stop_discovery) (
92     OrgBluezAdapter *object,
93     GDBusMethodInvocation *invocation);
94
95   gboolean (*handle_unregister_agent) (
96     OrgBluezAdapter *object,
97     GDBusMethodInvocation *invocation,
98     const gchar *arg_unnamed_arg0);
99
100   void (*device_created) (
101     OrgBluezAdapter *object,
102     const gchar *arg_unnamed_arg0);
103
104   void (*device_disappeared) (
105     OrgBluezAdapter *object,
106     const gchar *arg_unnamed_arg0);
107
108   void (*device_found) (
109     OrgBluezAdapter *object,
110     const gchar *arg_unnamed_arg0,
111     GVariant *arg_unnamed_arg1);
112
113   void (*device_removed) (
114     OrgBluezAdapter *object,
115     const gchar *arg_unnamed_arg0);
116
117   void (*property_changed) (
118     OrgBluezAdapter *object,
119     const gchar *arg_unnamed_arg0,
120     GVariant *arg_unnamed_arg1);
121
122 };
123
124 GType org_bluez_adapter_get_type (void) G_GNUC_CONST;
125
126 GDBusInterfaceInfo *org_bluez_adapter_interface_info (void);
127 guint org_bluez_adapter_override_properties (GObjectClass *klass, guint property_id_begin);
128
129
130 /* D-Bus method call completion functions: */
131 void org_bluez_adapter_complete_get_properties (
132     OrgBluezAdapter *object,
133     GDBusMethodInvocation *invocation,
134     GVariant *unnamed_arg0);
135
136 void org_bluez_adapter_complete_set_property (
137     OrgBluezAdapter *object,
138     GDBusMethodInvocation *invocation);
139
140 void org_bluez_adapter_complete_request_session (
141     OrgBluezAdapter *object,
142     GDBusMethodInvocation *invocation);
143
144 void org_bluez_adapter_complete_release_session (
145     OrgBluezAdapter *object,
146     GDBusMethodInvocation *invocation);
147
148 void org_bluez_adapter_complete_start_discovery (
149     OrgBluezAdapter *object,
150     GDBusMethodInvocation *invocation);
151
152 void org_bluez_adapter_complete_stop_discovery (
153     OrgBluezAdapter *object,
154     GDBusMethodInvocation *invocation);
155
156 void org_bluez_adapter_complete_list_devices (
157     OrgBluezAdapter *object,
158     GDBusMethodInvocation *invocation,
159     const gchar *const *unnamed_arg0);
160
161 void org_bluez_adapter_complete_create_device (
162     OrgBluezAdapter *object,
163     GDBusMethodInvocation *invocation,
164     const gchar *unnamed_arg1);
165
166 void org_bluez_adapter_complete_create_paired_device (
167     OrgBluezAdapter *object,
168     GDBusMethodInvocation *invocation,
169     const gchar *unnamed_arg3);
170
171 void org_bluez_adapter_complete_cancel_device_creation (
172     OrgBluezAdapter *object,
173     GDBusMethodInvocation *invocation);
174
175 void org_bluez_adapter_complete_remove_device (
176     OrgBluezAdapter *object,
177     GDBusMethodInvocation *invocation);
178
179 void org_bluez_adapter_complete_find_device (
180     OrgBluezAdapter *object,
181     GDBusMethodInvocation *invocation,
182     const gchar *unnamed_arg1);
183
184 void org_bluez_adapter_complete_register_agent (
185     OrgBluezAdapter *object,
186     GDBusMethodInvocation *invocation);
187
188 void org_bluez_adapter_complete_unregister_agent (
189     OrgBluezAdapter *object,
190     GDBusMethodInvocation *invocation);
191
192
193
194 /* D-Bus signal emissions functions: */
195 void org_bluez_adapter_emit_property_changed (
196     OrgBluezAdapter *object,
197     const gchar *arg_unnamed_arg0,
198     GVariant *arg_unnamed_arg1);
199
200 void org_bluez_adapter_emit_device_created (
201     OrgBluezAdapter *object,
202     const gchar *arg_unnamed_arg0);
203
204 void org_bluez_adapter_emit_device_removed (
205     OrgBluezAdapter *object,
206     const gchar *arg_unnamed_arg0);
207
208 void org_bluez_adapter_emit_device_found (
209     OrgBluezAdapter *object,
210     const gchar *arg_unnamed_arg0,
211     GVariant *arg_unnamed_arg1);
212
213 void org_bluez_adapter_emit_device_disappeared (
214     OrgBluezAdapter *object,
215     const gchar *arg_unnamed_arg0);
216
217
218
219 /* D-Bus method calls: */
220 void org_bluez_adapter_call_get_properties (
221     OrgBluezAdapter *proxy,
222     GCancellable *cancellable,
223     GAsyncReadyCallback callback,
224     gpointer user_data);
225
226 gboolean org_bluez_adapter_call_get_properties_finish (
227     OrgBluezAdapter *proxy,
228     GVariant **out_unnamed_arg0,
229     GAsyncResult *res,
230     GError **error);
231
232 gboolean org_bluez_adapter_call_get_properties_sync (
233     OrgBluezAdapter *proxy,
234     GVariant **out_unnamed_arg0,
235     GCancellable *cancellable,
236     GError **error);
237
238 void org_bluez_adapter_call_set_property (
239     OrgBluezAdapter *proxy,
240     const gchar *arg_unnamed_arg0,
241     GVariant *arg_unnamed_arg1,
242     GCancellable *cancellable,
243     GAsyncReadyCallback callback,
244     gpointer user_data);
245
246 gboolean org_bluez_adapter_call_set_property_finish (
247     OrgBluezAdapter *proxy,
248     GAsyncResult *res,
249     GError **error);
250
251 gboolean org_bluez_adapter_call_set_property_sync (
252     OrgBluezAdapter *proxy,
253     const gchar *arg_unnamed_arg0,
254     GVariant *arg_unnamed_arg1,
255     GCancellable *cancellable,
256     GError **error);
257
258 void org_bluez_adapter_call_request_session (
259     OrgBluezAdapter *proxy,
260     GCancellable *cancellable,
261     GAsyncReadyCallback callback,
262     gpointer user_data);
263
264 gboolean org_bluez_adapter_call_request_session_finish (
265     OrgBluezAdapter *proxy,
266     GAsyncResult *res,
267     GError **error);
268
269 gboolean org_bluez_adapter_call_request_session_sync (
270     OrgBluezAdapter *proxy,
271     GCancellable *cancellable,
272     GError **error);
273
274 void org_bluez_adapter_call_release_session (
275     OrgBluezAdapter *proxy,
276     GCancellable *cancellable,
277     GAsyncReadyCallback callback,
278     gpointer user_data);
279
280 gboolean org_bluez_adapter_call_release_session_finish (
281     OrgBluezAdapter *proxy,
282     GAsyncResult *res,
283     GError **error);
284
285 gboolean org_bluez_adapter_call_release_session_sync (
286     OrgBluezAdapter *proxy,
287     GCancellable *cancellable,
288     GError **error);
289
290 void org_bluez_adapter_call_start_discovery (
291     OrgBluezAdapter *proxy,
292     GCancellable *cancellable,
293     GAsyncReadyCallback callback,
294     gpointer user_data);
295
296 gboolean org_bluez_adapter_call_start_discovery_finish (
297     OrgBluezAdapter *proxy,
298     GAsyncResult *res,
299     GError **error);
300
301 gboolean org_bluez_adapter_call_start_discovery_sync (
302     OrgBluezAdapter *proxy,
303     GCancellable *cancellable,
304     GError **error);
305
306 void org_bluez_adapter_call_stop_discovery (
307     OrgBluezAdapter *proxy,
308     GCancellable *cancellable,
309     GAsyncReadyCallback callback,
310     gpointer user_data);
311
312 gboolean org_bluez_adapter_call_stop_discovery_finish (
313     OrgBluezAdapter *proxy,
314     GAsyncResult *res,
315     GError **error);
316
317 gboolean org_bluez_adapter_call_stop_discovery_sync (
318     OrgBluezAdapter *proxy,
319     GCancellable *cancellable,
320     GError **error);
321
322 void org_bluez_adapter_call_list_devices (
323     OrgBluezAdapter *proxy,
324     GCancellable *cancellable,
325     GAsyncReadyCallback callback,
326     gpointer user_data);
327
328 gboolean org_bluez_adapter_call_list_devices_finish (
329     OrgBluezAdapter *proxy,
330     gchar ***out_unnamed_arg0,
331     GAsyncResult *res,
332     GError **error);
333
334 gboolean org_bluez_adapter_call_list_devices_sync (
335     OrgBluezAdapter *proxy,
336     gchar ***out_unnamed_arg0,
337     GCancellable *cancellable,
338     GError **error);
339
340 void org_bluez_adapter_call_create_device (
341     OrgBluezAdapter *proxy,
342     const gchar *arg_unnamed_arg0,
343     GCancellable *cancellable,
344     GAsyncReadyCallback callback,
345     gpointer user_data);
346
347 gboolean org_bluez_adapter_call_create_device_finish (
348     OrgBluezAdapter *proxy,
349     gchar **out_unnamed_arg1,
350     GAsyncResult *res,
351     GError **error);
352
353 gboolean org_bluez_adapter_call_create_device_sync (
354     OrgBluezAdapter *proxy,
355     const gchar *arg_unnamed_arg0,
356     gchar **out_unnamed_arg1,
357     GCancellable *cancellable,
358     GError **error);
359
360 void org_bluez_adapter_call_create_paired_device (
361     OrgBluezAdapter *proxy,
362     const gchar *arg_unnamed_arg0,
363     const gchar *arg_unnamed_arg1,
364     const gchar *arg_unnamed_arg2,
365     GCancellable *cancellable,
366     GAsyncReadyCallback callback,
367     gpointer user_data);
368
369 gboolean org_bluez_adapter_call_create_paired_device_finish (
370     OrgBluezAdapter *proxy,
371     gchar **out_unnamed_arg3,
372     GAsyncResult *res,
373     GError **error);
374
375 gboolean org_bluez_adapter_call_create_paired_device_sync (
376     OrgBluezAdapter *proxy,
377     const gchar *arg_unnamed_arg0,
378     const gchar *arg_unnamed_arg1,
379     const gchar *arg_unnamed_arg2,
380     gchar **out_unnamed_arg3,
381     GCancellable *cancellable,
382     GError **error);
383
384 void org_bluez_adapter_call_cancel_device_creation (
385     OrgBluezAdapter *proxy,
386     const gchar *arg_unnamed_arg0,
387     GCancellable *cancellable,
388     GAsyncReadyCallback callback,
389     gpointer user_data);
390
391 gboolean org_bluez_adapter_call_cancel_device_creation_finish (
392     OrgBluezAdapter *proxy,
393     GAsyncResult *res,
394     GError **error);
395
396 gboolean org_bluez_adapter_call_cancel_device_creation_sync (
397     OrgBluezAdapter *proxy,
398     const gchar *arg_unnamed_arg0,
399     GCancellable *cancellable,
400     GError **error);
401
402 void org_bluez_adapter_call_remove_device (
403     OrgBluezAdapter *proxy,
404     const gchar *arg_unnamed_arg0,
405     GCancellable *cancellable,
406     GAsyncReadyCallback callback,
407     gpointer user_data);
408
409 gboolean org_bluez_adapter_call_remove_device_finish (
410     OrgBluezAdapter *proxy,
411     GAsyncResult *res,
412     GError **error);
413
414 gboolean org_bluez_adapter_call_remove_device_sync (
415     OrgBluezAdapter *proxy,
416     const gchar *arg_unnamed_arg0,
417     GCancellable *cancellable,
418     GError **error);
419
420 void org_bluez_adapter_call_find_device (
421     OrgBluezAdapter *proxy,
422     const gchar *arg_unnamed_arg0,
423     GCancellable *cancellable,
424     GAsyncReadyCallback callback,
425     gpointer user_data);
426
427 gboolean org_bluez_adapter_call_find_device_finish (
428     OrgBluezAdapter *proxy,
429     gchar **out_unnamed_arg1,
430     GAsyncResult *res,
431     GError **error);
432
433 gboolean org_bluez_adapter_call_find_device_sync (
434     OrgBluezAdapter *proxy,
435     const gchar *arg_unnamed_arg0,
436     gchar **out_unnamed_arg1,
437     GCancellable *cancellable,
438     GError **error);
439
440 void org_bluez_adapter_call_register_agent (
441     OrgBluezAdapter *proxy,
442     const gchar *arg_unnamed_arg0,
443     const gchar *arg_unnamed_arg1,
444     GCancellable *cancellable,
445     GAsyncReadyCallback callback,
446     gpointer user_data);
447
448 gboolean org_bluez_adapter_call_register_agent_finish (
449     OrgBluezAdapter *proxy,
450     GAsyncResult *res,
451     GError **error);
452
453 gboolean org_bluez_adapter_call_register_agent_sync (
454     OrgBluezAdapter *proxy,
455     const gchar *arg_unnamed_arg0,
456     const gchar *arg_unnamed_arg1,
457     GCancellable *cancellable,
458     GError **error);
459
460 void org_bluez_adapter_call_unregister_agent (
461     OrgBluezAdapter *proxy,
462     const gchar *arg_unnamed_arg0,
463     GCancellable *cancellable,
464     GAsyncReadyCallback callback,
465     gpointer user_data);
466
467 gboolean org_bluez_adapter_call_unregister_agent_finish (
468     OrgBluezAdapter *proxy,
469     GAsyncResult *res,
470     GError **error);
471
472 gboolean org_bluez_adapter_call_unregister_agent_sync (
473     OrgBluezAdapter *proxy,
474     const gchar *arg_unnamed_arg0,
475     GCancellable *cancellable,
476     GError **error);
477
478
479
480 /* ---- */
481
482 #define TYPE_ORG_BLUEZ_ADAPTER_PROXY (org_bluez_adapter_proxy_get_type ())
483 #define ORG_BLUEZ_ADAPTER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_BLUEZ_ADAPTER_PROXY, OrgBluezAdapterProxy))
484 #define ORG_BLUEZ_ADAPTER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_BLUEZ_ADAPTER_PROXY, OrgBluezAdapterProxyClass))
485 #define ORG_BLUEZ_ADAPTER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_BLUEZ_ADAPTER_PROXY, OrgBluezAdapterProxyClass))
486 #define IS_ORG_BLUEZ_ADAPTER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_BLUEZ_ADAPTER_PROXY))
487 #define IS_ORG_BLUEZ_ADAPTER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_BLUEZ_ADAPTER_PROXY))
488
489 typedef struct _OrgBluezAdapterProxy OrgBluezAdapterProxy;
490 typedef struct _OrgBluezAdapterProxyClass OrgBluezAdapterProxyClass;
491 typedef struct _OrgBluezAdapterProxyPrivate OrgBluezAdapterProxyPrivate;
492
493 struct _OrgBluezAdapterProxy
494 {
495   /*< private >*/
496   GDBusProxy parent_instance;
497   OrgBluezAdapterProxyPrivate *priv;
498 };
499
500 struct _OrgBluezAdapterProxyClass
501 {
502   GDBusProxyClass parent_class;
503 };
504
505 GType org_bluez_adapter_proxy_get_type (void) G_GNUC_CONST;
506
507 void org_bluez_adapter_proxy_new (
508     GDBusConnection     *connection,
509     GDBusProxyFlags      flags,
510     const gchar         *name,
511     const gchar         *object_path,
512     GCancellable        *cancellable,
513     GAsyncReadyCallback  callback,
514     gpointer             user_data);
515 OrgBluezAdapter *org_bluez_adapter_proxy_new_finish (
516     GAsyncResult        *res,
517     GError             **error);
518 OrgBluezAdapter *org_bluez_adapter_proxy_new_sync (
519     GDBusConnection     *connection,
520     GDBusProxyFlags      flags,
521     const gchar         *name,
522     const gchar         *object_path,
523     GCancellable        *cancellable,
524     GError             **error);
525
526 void org_bluez_adapter_proxy_new_for_bus (
527     GBusType             bus_type,
528     GDBusProxyFlags      flags,
529     const gchar         *name,
530     const gchar         *object_path,
531     GCancellable        *cancellable,
532     GAsyncReadyCallback  callback,
533     gpointer             user_data);
534 OrgBluezAdapter *org_bluez_adapter_proxy_new_for_bus_finish (
535     GAsyncResult        *res,
536     GError             **error);
537 OrgBluezAdapter *org_bluez_adapter_proxy_new_for_bus_sync (
538     GBusType             bus_type,
539     GDBusProxyFlags      flags,
540     const gchar         *name,
541     const gchar         *object_path,
542     GCancellable        *cancellable,
543     GError             **error);
544
545
546 /* ---- */
547
548 #define TYPE_ORG_BLUEZ_ADAPTER_SKELETON (org_bluez_adapter_skeleton_get_type ())
549 #define ORG_BLUEZ_ADAPTER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_BLUEZ_ADAPTER_SKELETON, OrgBluezAdapterSkeleton))
550 #define ORG_BLUEZ_ADAPTER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_BLUEZ_ADAPTER_SKELETON, OrgBluezAdapterSkeletonClass))
551 #define ORG_BLUEZ_ADAPTER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_BLUEZ_ADAPTER_SKELETON, OrgBluezAdapterSkeletonClass))
552 #define IS_ORG_BLUEZ_ADAPTER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_BLUEZ_ADAPTER_SKELETON))
553 #define IS_ORG_BLUEZ_ADAPTER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_BLUEZ_ADAPTER_SKELETON))
554
555 typedef struct _OrgBluezAdapterSkeleton OrgBluezAdapterSkeleton;
556 typedef struct _OrgBluezAdapterSkeletonClass OrgBluezAdapterSkeletonClass;
557 typedef struct _OrgBluezAdapterSkeletonPrivate OrgBluezAdapterSkeletonPrivate;
558
559 struct _OrgBluezAdapterSkeleton
560 {
561   /*< private >*/
562   GDBusInterfaceSkeleton parent_instance;
563   OrgBluezAdapterSkeletonPrivate *priv;
564 };
565
566 struct _OrgBluezAdapterSkeletonClass
567 {
568   GDBusInterfaceSkeletonClass parent_class;
569 };
570
571 GType org_bluez_adapter_skeleton_get_type (void) G_GNUC_CONST;
572
573 OrgBluezAdapter *org_bluez_adapter_skeleton_new (void);
574
575
576 G_END_DECLS
577
578 #endif /* __BLUETOOTHADAPTERPROXY_H__ */