blob: cd84021250d74a7b017ce819ddbe251bf3fc3911 [file] [log] [blame]
Norman Jamese2765102015-08-19 22:00:55 -05001/*
2 * Generated by gdbus-codegen 2.40.2. 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 __INTERFACES_SENSOR_H__
8#define __INTERFACES_SENSOR_H__
9
10#include <gio/gio.h>
11
12G_BEGIN_DECLS
13
14
15/* ------------------------------------------------------------------------ */
16/* Declarations for org.openbmc.SensorInteger */
17
18#define TYPE_SENSOR_INTEGER (sensor_integer_get_type ())
19#define SENSOR_INTEGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_INTEGER, SensorInteger))
20#define IS_SENSOR_INTEGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_INTEGER))
21#define SENSOR_INTEGER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_INTEGER, SensorIntegerIface))
22
23struct _SensorInteger;
24typedef struct _SensorInteger SensorInteger;
25typedef struct _SensorIntegerIface SensorIntegerIface;
26
27struct _SensorIntegerIface
28{
29 GTypeInterface parent_iface;
30
31
32
33 gboolean (*handle_get_units) (
34 SensorInteger *object,
35 GDBusMethodInvocation *invocation);
36
37 gboolean (*handle_get_value) (
38 SensorInteger *object,
39 GDBusMethodInvocation *invocation);
40
Norman Jamescc7ae122015-08-24 14:26:09 -050041 gboolean (*handle_go) (
42 SensorInteger *object,
43 GDBusMethodInvocation *invocation);
44
45 gboolean (*handle_set_config_data) (
46 SensorInteger *object,
47 GDBusMethodInvocation *invocation,
48 const gchar *const *arg_config);
49
50 gboolean (*handle_set_poll_interval) (
51 SensorInteger *object,
52 GDBusMethodInvocation *invocation,
53 gint arg_poll_interval);
54
55 gint (*get_changed_tolerance) (SensorInteger *object);
56
57 const gchar *const * (*get_config_data) (SensorInteger *object);
58
59 gint (*get_poll_interval) (SensorInteger *object);
60
Norman Jamese2765102015-08-19 22:00:55 -050061 const gchar * (*get_units) (SensorInteger *object);
62
63 gint (*get_value) (SensorInteger *object);
64
65 void (*changed) (
66 SensorInteger *object,
67 gint arg_value);
68
69};
70
71GType sensor_integer_get_type (void) G_GNUC_CONST;
72
73GDBusInterfaceInfo *sensor_integer_interface_info (void);
74guint sensor_integer_override_properties (GObjectClass *klass, guint property_id_begin);
75
76
77/* D-Bus method call completion functions: */
78void sensor_integer_complete_get_value (
79 SensorInteger *object,
80 GDBusMethodInvocation *invocation,
81 gint value);
82
83void sensor_integer_complete_get_units (
84 SensorInteger *object,
85 GDBusMethodInvocation *invocation,
86 const gchar *units);
87
Norman Jamescc7ae122015-08-24 14:26:09 -050088void sensor_integer_complete_set_poll_interval (
89 SensorInteger *object,
90 GDBusMethodInvocation *invocation);
91
92void sensor_integer_complete_set_config_data (
93 SensorInteger *object,
94 GDBusMethodInvocation *invocation);
95
96void sensor_integer_complete_go (
97 SensorInteger *object,
98 GDBusMethodInvocation *invocation);
99
Norman Jamese2765102015-08-19 22:00:55 -0500100
101
102/* D-Bus signal emissions functions: */
103void sensor_integer_emit_changed (
104 SensorInteger *object,
105 gint arg_value);
106
107
108
109/* D-Bus method calls: */
110void sensor_integer_call_get_value (
111 SensorInteger *proxy,
112 GCancellable *cancellable,
113 GAsyncReadyCallback callback,
114 gpointer user_data);
115
116gboolean sensor_integer_call_get_value_finish (
117 SensorInteger *proxy,
118 gint *out_value,
119 GAsyncResult *res,
120 GError **error);
121
122gboolean sensor_integer_call_get_value_sync (
123 SensorInteger *proxy,
124 gint *out_value,
125 GCancellable *cancellable,
126 GError **error);
127
128void sensor_integer_call_get_units (
129 SensorInteger *proxy,
130 GCancellable *cancellable,
131 GAsyncReadyCallback callback,
132 gpointer user_data);
133
134gboolean sensor_integer_call_get_units_finish (
135 SensorInteger *proxy,
136 gchar **out_units,
137 GAsyncResult *res,
138 GError **error);
139
140gboolean sensor_integer_call_get_units_sync (
141 SensorInteger *proxy,
142 gchar **out_units,
143 GCancellable *cancellable,
144 GError **error);
145
Norman Jamescc7ae122015-08-24 14:26:09 -0500146void sensor_integer_call_set_poll_interval (
147 SensorInteger *proxy,
148 gint arg_poll_interval,
149 GCancellable *cancellable,
150 GAsyncReadyCallback callback,
151 gpointer user_data);
152
153gboolean sensor_integer_call_set_poll_interval_finish (
154 SensorInteger *proxy,
155 GAsyncResult *res,
156 GError **error);
157
158gboolean sensor_integer_call_set_poll_interval_sync (
159 SensorInteger *proxy,
160 gint arg_poll_interval,
161 GCancellable *cancellable,
162 GError **error);
163
164void sensor_integer_call_set_config_data (
165 SensorInteger *proxy,
166 const gchar *const *arg_config,
167 GCancellable *cancellable,
168 GAsyncReadyCallback callback,
169 gpointer user_data);
170
171gboolean sensor_integer_call_set_config_data_finish (
172 SensorInteger *proxy,
173 GAsyncResult *res,
174 GError **error);
175
176gboolean sensor_integer_call_set_config_data_sync (
177 SensorInteger *proxy,
178 const gchar *const *arg_config,
179 GCancellable *cancellable,
180 GError **error);
181
182void sensor_integer_call_go (
183 SensorInteger *proxy,
184 GCancellable *cancellable,
185 GAsyncReadyCallback callback,
186 gpointer user_data);
187
188gboolean sensor_integer_call_go_finish (
189 SensorInteger *proxy,
190 GAsyncResult *res,
191 GError **error);
192
193gboolean sensor_integer_call_go_sync (
194 SensorInteger *proxy,
195 GCancellable *cancellable,
196 GError **error);
197
Norman Jamese2765102015-08-19 22:00:55 -0500198
199
200/* D-Bus property accessors: */
201gint sensor_integer_get_value (SensorInteger *object);
202void sensor_integer_set_value (SensorInteger *object, gint value);
203
204const gchar *sensor_integer_get_units (SensorInteger *object);
205gchar *sensor_integer_dup_units (SensorInteger *object);
206void sensor_integer_set_units (SensorInteger *object, const gchar *value);
207
Norman Jamescc7ae122015-08-24 14:26:09 -0500208gint sensor_integer_get_poll_interval (SensorInteger *object);
209void sensor_integer_set_poll_interval (SensorInteger *object, gint value);
210
211const gchar *const *sensor_integer_get_config_data (SensorInteger *object);
212gchar **sensor_integer_dup_config_data (SensorInteger *object);
213void sensor_integer_set_config_data (SensorInteger *object, const gchar *const *value);
214
215gint sensor_integer_get_changed_tolerance (SensorInteger *object);
216void sensor_integer_set_changed_tolerance (SensorInteger *object, gint value);
217
Norman Jamese2765102015-08-19 22:00:55 -0500218
219/* ---- */
220
221#define TYPE_SENSOR_INTEGER_PROXY (sensor_integer_proxy_get_type ())
222#define SENSOR_INTEGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_INTEGER_PROXY, SensorIntegerProxy))
223#define SENSOR_INTEGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_INTEGER_PROXY, SensorIntegerProxyClass))
224#define SENSOR_INTEGER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_INTEGER_PROXY, SensorIntegerProxyClass))
225#define IS_SENSOR_INTEGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_INTEGER_PROXY))
226#define IS_SENSOR_INTEGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_INTEGER_PROXY))
227
228typedef struct _SensorIntegerProxy SensorIntegerProxy;
229typedef struct _SensorIntegerProxyClass SensorIntegerProxyClass;
230typedef struct _SensorIntegerProxyPrivate SensorIntegerProxyPrivate;
231
232struct _SensorIntegerProxy
233{
234 /*< private >*/
235 GDBusProxy parent_instance;
236 SensorIntegerProxyPrivate *priv;
237};
238
239struct _SensorIntegerProxyClass
240{
241 GDBusProxyClass parent_class;
242};
243
244GType sensor_integer_proxy_get_type (void) G_GNUC_CONST;
245
246void sensor_integer_proxy_new (
247 GDBusConnection *connection,
248 GDBusProxyFlags flags,
249 const gchar *name,
250 const gchar *object_path,
251 GCancellable *cancellable,
252 GAsyncReadyCallback callback,
253 gpointer user_data);
254SensorInteger *sensor_integer_proxy_new_finish (
255 GAsyncResult *res,
256 GError **error);
257SensorInteger *sensor_integer_proxy_new_sync (
258 GDBusConnection *connection,
259 GDBusProxyFlags flags,
260 const gchar *name,
261 const gchar *object_path,
262 GCancellable *cancellable,
263 GError **error);
264
265void sensor_integer_proxy_new_for_bus (
266 GBusType bus_type,
267 GDBusProxyFlags flags,
268 const gchar *name,
269 const gchar *object_path,
270 GCancellable *cancellable,
271 GAsyncReadyCallback callback,
272 gpointer user_data);
273SensorInteger *sensor_integer_proxy_new_for_bus_finish (
274 GAsyncResult *res,
275 GError **error);
276SensorInteger *sensor_integer_proxy_new_for_bus_sync (
277 GBusType bus_type,
278 GDBusProxyFlags flags,
279 const gchar *name,
280 const gchar *object_path,
281 GCancellable *cancellable,
282 GError **error);
283
284
285/* ---- */
286
287#define TYPE_SENSOR_INTEGER_SKELETON (sensor_integer_skeleton_get_type ())
288#define SENSOR_INTEGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_INTEGER_SKELETON, SensorIntegerSkeleton))
289#define SENSOR_INTEGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_INTEGER_SKELETON, SensorIntegerSkeletonClass))
290#define SENSOR_INTEGER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_INTEGER_SKELETON, SensorIntegerSkeletonClass))
291#define IS_SENSOR_INTEGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_INTEGER_SKELETON))
292#define IS_SENSOR_INTEGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_INTEGER_SKELETON))
293
294typedef struct _SensorIntegerSkeleton SensorIntegerSkeleton;
295typedef struct _SensorIntegerSkeletonClass SensorIntegerSkeletonClass;
296typedef struct _SensorIntegerSkeletonPrivate SensorIntegerSkeletonPrivate;
297
298struct _SensorIntegerSkeleton
299{
300 /*< private >*/
301 GDBusInterfaceSkeleton parent_instance;
302 SensorIntegerSkeletonPrivate *priv;
303};
304
305struct _SensorIntegerSkeletonClass
306{
307 GDBusInterfaceSkeletonClass parent_class;
308};
309
310GType sensor_integer_skeleton_get_type (void) G_GNUC_CONST;
311
312SensorInteger *sensor_integer_skeleton_new (void);
313
314
315/* ------------------------------------------------------------------------ */
316/* Declarations for org.openbmc.SensorString */
317
318#define TYPE_SENSOR_STRING (sensor_string_get_type ())
319#define SENSOR_STRING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_STRING, SensorString))
320#define IS_SENSOR_STRING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_STRING))
321#define SENSOR_STRING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_STRING, SensorStringIface))
322
323struct _SensorString;
324typedef struct _SensorString SensorString;
325typedef struct _SensorStringIface SensorStringIface;
326
327struct _SensorStringIface
328{
329 GTypeInterface parent_iface;
330
331
332
333 gboolean (*handle_get_units) (
334 SensorString *object,
335 GDBusMethodInvocation *invocation);
336
337 gboolean (*handle_get_value) (
338 SensorString *object,
339 GDBusMethodInvocation *invocation);
340
341 const gchar * (*get_units) (SensorString *object);
342
343 gint (*get_value) (SensorString *object);
344
345 void (*changed) (
346 SensorString *object,
347 const gchar *arg_value);
348
349};
350
351GType sensor_string_get_type (void) G_GNUC_CONST;
352
353GDBusInterfaceInfo *sensor_string_interface_info (void);
354guint sensor_string_override_properties (GObjectClass *klass, guint property_id_begin);
355
356
357/* D-Bus method call completion functions: */
358void sensor_string_complete_get_value (
359 SensorString *object,
360 GDBusMethodInvocation *invocation,
361 const gchar *value);
362
363void sensor_string_complete_get_units (
364 SensorString *object,
365 GDBusMethodInvocation *invocation,
366 const gchar *units);
367
368
369
370/* D-Bus signal emissions functions: */
371void sensor_string_emit_changed (
372 SensorString *object,
373 const gchar *arg_value);
374
375
376
377/* D-Bus method calls: */
378void sensor_string_call_get_value (
379 SensorString *proxy,
380 GCancellable *cancellable,
381 GAsyncReadyCallback callback,
382 gpointer user_data);
383
384gboolean sensor_string_call_get_value_finish (
385 SensorString *proxy,
386 gchar **out_value,
387 GAsyncResult *res,
388 GError **error);
389
390gboolean sensor_string_call_get_value_sync (
391 SensorString *proxy,
392 gchar **out_value,
393 GCancellable *cancellable,
394 GError **error);
395
396void sensor_string_call_get_units (
397 SensorString *proxy,
398 GCancellable *cancellable,
399 GAsyncReadyCallback callback,
400 gpointer user_data);
401
402gboolean sensor_string_call_get_units_finish (
403 SensorString *proxy,
404 gchar **out_units,
405 GAsyncResult *res,
406 GError **error);
407
408gboolean sensor_string_call_get_units_sync (
409 SensorString *proxy,
410 gchar **out_units,
411 GCancellable *cancellable,
412 GError **error);
413
414
415
416/* D-Bus property accessors: */
417gint sensor_string_get_value (SensorString *object);
418void sensor_string_set_value (SensorString *object, gint value);
419
420const gchar *sensor_string_get_units (SensorString *object);
421gchar *sensor_string_dup_units (SensorString *object);
422void sensor_string_set_units (SensorString *object, const gchar *value);
423
424
425/* ---- */
426
427#define TYPE_SENSOR_STRING_PROXY (sensor_string_proxy_get_type ())
428#define SENSOR_STRING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_STRING_PROXY, SensorStringProxy))
429#define SENSOR_STRING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_STRING_PROXY, SensorStringProxyClass))
430#define SENSOR_STRING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_STRING_PROXY, SensorStringProxyClass))
431#define IS_SENSOR_STRING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_STRING_PROXY))
432#define IS_SENSOR_STRING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_STRING_PROXY))
433
434typedef struct _SensorStringProxy SensorStringProxy;
435typedef struct _SensorStringProxyClass SensorStringProxyClass;
436typedef struct _SensorStringProxyPrivate SensorStringProxyPrivate;
437
438struct _SensorStringProxy
439{
440 /*< private >*/
441 GDBusProxy parent_instance;
442 SensorStringProxyPrivate *priv;
443};
444
445struct _SensorStringProxyClass
446{
447 GDBusProxyClass parent_class;
448};
449
450GType sensor_string_proxy_get_type (void) G_GNUC_CONST;
451
452void sensor_string_proxy_new (
453 GDBusConnection *connection,
454 GDBusProxyFlags flags,
455 const gchar *name,
456 const gchar *object_path,
457 GCancellable *cancellable,
458 GAsyncReadyCallback callback,
459 gpointer user_data);
460SensorString *sensor_string_proxy_new_finish (
461 GAsyncResult *res,
462 GError **error);
463SensorString *sensor_string_proxy_new_sync (
464 GDBusConnection *connection,
465 GDBusProxyFlags flags,
466 const gchar *name,
467 const gchar *object_path,
468 GCancellable *cancellable,
469 GError **error);
470
471void sensor_string_proxy_new_for_bus (
472 GBusType bus_type,
473 GDBusProxyFlags flags,
474 const gchar *name,
475 const gchar *object_path,
476 GCancellable *cancellable,
477 GAsyncReadyCallback callback,
478 gpointer user_data);
479SensorString *sensor_string_proxy_new_for_bus_finish (
480 GAsyncResult *res,
481 GError **error);
482SensorString *sensor_string_proxy_new_for_bus_sync (
483 GBusType bus_type,
484 GDBusProxyFlags flags,
485 const gchar *name,
486 const gchar *object_path,
487 GCancellable *cancellable,
488 GError **error);
489
490
491/* ---- */
492
493#define TYPE_SENSOR_STRING_SKELETON (sensor_string_skeleton_get_type ())
494#define SENSOR_STRING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_STRING_SKELETON, SensorStringSkeleton))
495#define SENSOR_STRING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_STRING_SKELETON, SensorStringSkeletonClass))
496#define SENSOR_STRING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_STRING_SKELETON, SensorStringSkeletonClass))
497#define IS_SENSOR_STRING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_STRING_SKELETON))
498#define IS_SENSOR_STRING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_STRING_SKELETON))
499
500typedef struct _SensorStringSkeleton SensorStringSkeleton;
501typedef struct _SensorStringSkeletonClass SensorStringSkeletonClass;
502typedef struct _SensorStringSkeletonPrivate SensorStringSkeletonPrivate;
503
504struct _SensorStringSkeleton
505{
506 /*< private >*/
507 GDBusInterfaceSkeleton parent_instance;
508 SensorStringSkeletonPrivate *priv;
509};
510
511struct _SensorStringSkeletonClass
512{
513 GDBusInterfaceSkeletonClass parent_class;
514};
515
516GType sensor_string_skeleton_get_type (void) G_GNUC_CONST;
517
518SensorString *sensor_string_skeleton_new (void);
519
520
521/* ------------------------------------------------------------------------ */
522/* Declarations for org.openbmc.SensorIntegerSettable */
523
524#define TYPE_SENSOR_INTEGER_SETTABLE (sensor_integer_settable_get_type ())
525#define SENSOR_INTEGER_SETTABLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_INTEGER_SETTABLE, SensorIntegerSettable))
526#define IS_SENSOR_INTEGER_SETTABLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_INTEGER_SETTABLE))
527#define SENSOR_INTEGER_SETTABLE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_INTEGER_SETTABLE, SensorIntegerSettableIface))
528
529struct _SensorIntegerSettable;
530typedef struct _SensorIntegerSettable SensorIntegerSettable;
531typedef struct _SensorIntegerSettableIface SensorIntegerSettableIface;
532
533struct _SensorIntegerSettableIface
534{
535 GTypeInterface parent_iface;
536
537
538
539 gboolean (*handle_get_units) (
540 SensorIntegerSettable *object,
541 GDBusMethodInvocation *invocation);
542
543 gboolean (*handle_get_value) (
544 SensorIntegerSettable *object,
545 GDBusMethodInvocation *invocation);
546
547 gboolean (*handle_set_value) (
548 SensorIntegerSettable *object,
549 GDBusMethodInvocation *invocation,
550 gint arg_value);
551
552 const gchar * (*get_units) (SensorIntegerSettable *object);
553
554 gint (*get_value) (SensorIntegerSettable *object);
555
556 void (*changed) (
557 SensorIntegerSettable *object,
558 gint arg_value);
559
560};
561
562GType sensor_integer_settable_get_type (void) G_GNUC_CONST;
563
564GDBusInterfaceInfo *sensor_integer_settable_interface_info (void);
565guint sensor_integer_settable_override_properties (GObjectClass *klass, guint property_id_begin);
566
567
568/* D-Bus method call completion functions: */
569void sensor_integer_settable_complete_get_value (
570 SensorIntegerSettable *object,
571 GDBusMethodInvocation *invocation,
572 gint value);
573
574void sensor_integer_settable_complete_set_value (
575 SensorIntegerSettable *object,
576 GDBusMethodInvocation *invocation);
577
578void sensor_integer_settable_complete_get_units (
579 SensorIntegerSettable *object,
580 GDBusMethodInvocation *invocation,
581 const gchar *units);
582
583
584
585/* D-Bus signal emissions functions: */
586void sensor_integer_settable_emit_changed (
587 SensorIntegerSettable *object,
588 gint arg_value);
589
590
591
592/* D-Bus method calls: */
593void sensor_integer_settable_call_get_value (
594 SensorIntegerSettable *proxy,
595 GCancellable *cancellable,
596 GAsyncReadyCallback callback,
597 gpointer user_data);
598
599gboolean sensor_integer_settable_call_get_value_finish (
600 SensorIntegerSettable *proxy,
601 gint *out_value,
602 GAsyncResult *res,
603 GError **error);
604
605gboolean sensor_integer_settable_call_get_value_sync (
606 SensorIntegerSettable *proxy,
607 gint *out_value,
608 GCancellable *cancellable,
609 GError **error);
610
611void sensor_integer_settable_call_set_value (
612 SensorIntegerSettable *proxy,
613 gint arg_value,
614 GCancellable *cancellable,
615 GAsyncReadyCallback callback,
616 gpointer user_data);
617
618gboolean sensor_integer_settable_call_set_value_finish (
619 SensorIntegerSettable *proxy,
620 GAsyncResult *res,
621 GError **error);
622
623gboolean sensor_integer_settable_call_set_value_sync (
624 SensorIntegerSettable *proxy,
625 gint arg_value,
626 GCancellable *cancellable,
627 GError **error);
628
629void sensor_integer_settable_call_get_units (
630 SensorIntegerSettable *proxy,
631 GCancellable *cancellable,
632 GAsyncReadyCallback callback,
633 gpointer user_data);
634
635gboolean sensor_integer_settable_call_get_units_finish (
636 SensorIntegerSettable *proxy,
637 gchar **out_units,
638 GAsyncResult *res,
639 GError **error);
640
641gboolean sensor_integer_settable_call_get_units_sync (
642 SensorIntegerSettable *proxy,
643 gchar **out_units,
644 GCancellable *cancellable,
645 GError **error);
646
647
648
649/* D-Bus property accessors: */
650gint sensor_integer_settable_get_value (SensorIntegerSettable *object);
651void sensor_integer_settable_set_value (SensorIntegerSettable *object, gint value);
652
653const gchar *sensor_integer_settable_get_units (SensorIntegerSettable *object);
654gchar *sensor_integer_settable_dup_units (SensorIntegerSettable *object);
655void sensor_integer_settable_set_units (SensorIntegerSettable *object, const gchar *value);
656
657
658/* ---- */
659
660#define TYPE_SENSOR_INTEGER_SETTABLE_PROXY (sensor_integer_settable_proxy_get_type ())
661#define SENSOR_INTEGER_SETTABLE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_INTEGER_SETTABLE_PROXY, SensorIntegerSettableProxy))
662#define SENSOR_INTEGER_SETTABLE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_INTEGER_SETTABLE_PROXY, SensorIntegerSettableProxyClass))
663#define SENSOR_INTEGER_SETTABLE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_INTEGER_SETTABLE_PROXY, SensorIntegerSettableProxyClass))
664#define IS_SENSOR_INTEGER_SETTABLE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_INTEGER_SETTABLE_PROXY))
665#define IS_SENSOR_INTEGER_SETTABLE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_INTEGER_SETTABLE_PROXY))
666
667typedef struct _SensorIntegerSettableProxy SensorIntegerSettableProxy;
668typedef struct _SensorIntegerSettableProxyClass SensorIntegerSettableProxyClass;
669typedef struct _SensorIntegerSettableProxyPrivate SensorIntegerSettableProxyPrivate;
670
671struct _SensorIntegerSettableProxy
672{
673 /*< private >*/
674 GDBusProxy parent_instance;
675 SensorIntegerSettableProxyPrivate *priv;
676};
677
678struct _SensorIntegerSettableProxyClass
679{
680 GDBusProxyClass parent_class;
681};
682
683GType sensor_integer_settable_proxy_get_type (void) G_GNUC_CONST;
684
685void sensor_integer_settable_proxy_new (
686 GDBusConnection *connection,
687 GDBusProxyFlags flags,
688 const gchar *name,
689 const gchar *object_path,
690 GCancellable *cancellable,
691 GAsyncReadyCallback callback,
692 gpointer user_data);
693SensorIntegerSettable *sensor_integer_settable_proxy_new_finish (
694 GAsyncResult *res,
695 GError **error);
696SensorIntegerSettable *sensor_integer_settable_proxy_new_sync (
697 GDBusConnection *connection,
698 GDBusProxyFlags flags,
699 const gchar *name,
700 const gchar *object_path,
701 GCancellable *cancellable,
702 GError **error);
703
704void sensor_integer_settable_proxy_new_for_bus (
705 GBusType bus_type,
706 GDBusProxyFlags flags,
707 const gchar *name,
708 const gchar *object_path,
709 GCancellable *cancellable,
710 GAsyncReadyCallback callback,
711 gpointer user_data);
712SensorIntegerSettable *sensor_integer_settable_proxy_new_for_bus_finish (
713 GAsyncResult *res,
714 GError **error);
715SensorIntegerSettable *sensor_integer_settable_proxy_new_for_bus_sync (
716 GBusType bus_type,
717 GDBusProxyFlags flags,
718 const gchar *name,
719 const gchar *object_path,
720 GCancellable *cancellable,
721 GError **error);
722
723
724/* ---- */
725
726#define TYPE_SENSOR_INTEGER_SETTABLE_SKELETON (sensor_integer_settable_skeleton_get_type ())
727#define SENSOR_INTEGER_SETTABLE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_INTEGER_SETTABLE_SKELETON, SensorIntegerSettableSkeleton))
728#define SENSOR_INTEGER_SETTABLE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_INTEGER_SETTABLE_SKELETON, SensorIntegerSettableSkeletonClass))
729#define SENSOR_INTEGER_SETTABLE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_INTEGER_SETTABLE_SKELETON, SensorIntegerSettableSkeletonClass))
730#define IS_SENSOR_INTEGER_SETTABLE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_INTEGER_SETTABLE_SKELETON))
731#define IS_SENSOR_INTEGER_SETTABLE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_INTEGER_SETTABLE_SKELETON))
732
733typedef struct _SensorIntegerSettableSkeleton SensorIntegerSettableSkeleton;
734typedef struct _SensorIntegerSettableSkeletonClass SensorIntegerSettableSkeletonClass;
735typedef struct _SensorIntegerSettableSkeletonPrivate SensorIntegerSettableSkeletonPrivate;
736
737struct _SensorIntegerSettableSkeleton
738{
739 /*< private >*/
740 GDBusInterfaceSkeleton parent_instance;
741 SensorIntegerSettableSkeletonPrivate *priv;
742};
743
744struct _SensorIntegerSettableSkeletonClass
745{
746 GDBusInterfaceSkeletonClass parent_class;
747};
748
749GType sensor_integer_settable_skeleton_get_type (void) G_GNUC_CONST;
750
751SensorIntegerSettable *sensor_integer_settable_skeleton_new (void);
752
753
Norman Jamescc7ae122015-08-24 14:26:09 -0500754/* ------------------------------------------------------------------------ */
755/* Declarations for org.openbmc.SensorIntegerThreshold */
756
757#define TYPE_SENSOR_INTEGER_THRESHOLD (sensor_integer_threshold_get_type ())
758#define SENSOR_INTEGER_THRESHOLD(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_INTEGER_THRESHOLD, SensorIntegerThreshold))
759#define IS_SENSOR_INTEGER_THRESHOLD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_INTEGER_THRESHOLD))
760#define SENSOR_INTEGER_THRESHOLD_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_INTEGER_THRESHOLD, SensorIntegerThresholdIface))
761
762struct _SensorIntegerThreshold;
763typedef struct _SensorIntegerThreshold SensorIntegerThreshold;
764typedef struct _SensorIntegerThresholdIface SensorIntegerThresholdIface;
765
766struct _SensorIntegerThresholdIface
767{
768 GTypeInterface parent_iface;
769
770
771
772 gboolean (*handle_check) (
773 SensorIntegerThreshold *object,
774 GDBusMethodInvocation *invocation,
775 gint arg_value);
776
777 gboolean (*handle_set_thresholds) (
778 SensorIntegerThreshold *object,
779 GDBusMethodInvocation *invocation,
780 gint arg_critical_upper,
781 gint arg_critical_lower,
782 gint arg_warning_upper,
783 gint arg_warning_lower);
784
785 gint (*get_critical_lower) (SensorIntegerThreshold *object);
786
787 gint (*get_critical_upper) (SensorIntegerThreshold *object);
788
789 gint (*get_warning_lower) (SensorIntegerThreshold *object);
790
791 gint (*get_warning_upper) (SensorIntegerThreshold *object);
792
793 void (*critical) (
794 SensorIntegerThreshold *object,
795 gboolean arg_over);
796
797 void (*warning) (
798 SensorIntegerThreshold *object,
799 gboolean arg_over);
800
801};
802
803GType sensor_integer_threshold_get_type (void) G_GNUC_CONST;
804
805GDBusInterfaceInfo *sensor_integer_threshold_interface_info (void);
806guint sensor_integer_threshold_override_properties (GObjectClass *klass, guint property_id_begin);
807
808
809/* D-Bus method call completion functions: */
810void sensor_integer_threshold_complete_check (
811 SensorIntegerThreshold *object,
812 GDBusMethodInvocation *invocation);
813
814void sensor_integer_threshold_complete_set_thresholds (
815 SensorIntegerThreshold *object,
816 GDBusMethodInvocation *invocation);
817
818
819
820/* D-Bus signal emissions functions: */
821void sensor_integer_threshold_emit_critical (
822 SensorIntegerThreshold *object,
823 gboolean arg_over);
824
825void sensor_integer_threshold_emit_warning (
826 SensorIntegerThreshold *object,
827 gboolean arg_over);
828
829
830
831/* D-Bus method calls: */
832void sensor_integer_threshold_call_check (
833 SensorIntegerThreshold *proxy,
834 gint arg_value,
835 GCancellable *cancellable,
836 GAsyncReadyCallback callback,
837 gpointer user_data);
838
839gboolean sensor_integer_threshold_call_check_finish (
840 SensorIntegerThreshold *proxy,
841 GAsyncResult *res,
842 GError **error);
843
844gboolean sensor_integer_threshold_call_check_sync (
845 SensorIntegerThreshold *proxy,
846 gint arg_value,
847 GCancellable *cancellable,
848 GError **error);
849
850void sensor_integer_threshold_call_set_thresholds (
851 SensorIntegerThreshold *proxy,
852 gint arg_critical_upper,
853 gint arg_critical_lower,
854 gint arg_warning_upper,
855 gint arg_warning_lower,
856 GCancellable *cancellable,
857 GAsyncReadyCallback callback,
858 gpointer user_data);
859
860gboolean sensor_integer_threshold_call_set_thresholds_finish (
861 SensorIntegerThreshold *proxy,
862 GAsyncResult *res,
863 GError **error);
864
865gboolean sensor_integer_threshold_call_set_thresholds_sync (
866 SensorIntegerThreshold *proxy,
867 gint arg_critical_upper,
868 gint arg_critical_lower,
869 gint arg_warning_upper,
870 gint arg_warning_lower,
871 GCancellable *cancellable,
872 GError **error);
873
874
875
876/* D-Bus property accessors: */
877gint sensor_integer_threshold_get_critical_upper (SensorIntegerThreshold *object);
878void sensor_integer_threshold_set_critical_upper (SensorIntegerThreshold *object, gint value);
879
880gint sensor_integer_threshold_get_critical_lower (SensorIntegerThreshold *object);
881void sensor_integer_threshold_set_critical_lower (SensorIntegerThreshold *object, gint value);
882
883gint sensor_integer_threshold_get_warning_upper (SensorIntegerThreshold *object);
884void sensor_integer_threshold_set_warning_upper (SensorIntegerThreshold *object, gint value);
885
886gint sensor_integer_threshold_get_warning_lower (SensorIntegerThreshold *object);
887void sensor_integer_threshold_set_warning_lower (SensorIntegerThreshold *object, gint value);
888
889
890/* ---- */
891
892#define TYPE_SENSOR_INTEGER_THRESHOLD_PROXY (sensor_integer_threshold_proxy_get_type ())
893#define SENSOR_INTEGER_THRESHOLD_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_INTEGER_THRESHOLD_PROXY, SensorIntegerThresholdProxy))
894#define SENSOR_INTEGER_THRESHOLD_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_INTEGER_THRESHOLD_PROXY, SensorIntegerThresholdProxyClass))
895#define SENSOR_INTEGER_THRESHOLD_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_INTEGER_THRESHOLD_PROXY, SensorIntegerThresholdProxyClass))
896#define IS_SENSOR_INTEGER_THRESHOLD_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_INTEGER_THRESHOLD_PROXY))
897#define IS_SENSOR_INTEGER_THRESHOLD_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_INTEGER_THRESHOLD_PROXY))
898
899typedef struct _SensorIntegerThresholdProxy SensorIntegerThresholdProxy;
900typedef struct _SensorIntegerThresholdProxyClass SensorIntegerThresholdProxyClass;
901typedef struct _SensorIntegerThresholdProxyPrivate SensorIntegerThresholdProxyPrivate;
902
903struct _SensorIntegerThresholdProxy
904{
905 /*< private >*/
906 GDBusProxy parent_instance;
907 SensorIntegerThresholdProxyPrivate *priv;
908};
909
910struct _SensorIntegerThresholdProxyClass
911{
912 GDBusProxyClass parent_class;
913};
914
915GType sensor_integer_threshold_proxy_get_type (void) G_GNUC_CONST;
916
917void sensor_integer_threshold_proxy_new (
918 GDBusConnection *connection,
919 GDBusProxyFlags flags,
920 const gchar *name,
921 const gchar *object_path,
922 GCancellable *cancellable,
923 GAsyncReadyCallback callback,
924 gpointer user_data);
925SensorIntegerThreshold *sensor_integer_threshold_proxy_new_finish (
926 GAsyncResult *res,
927 GError **error);
928SensorIntegerThreshold *sensor_integer_threshold_proxy_new_sync (
929 GDBusConnection *connection,
930 GDBusProxyFlags flags,
931 const gchar *name,
932 const gchar *object_path,
933 GCancellable *cancellable,
934 GError **error);
935
936void sensor_integer_threshold_proxy_new_for_bus (
937 GBusType bus_type,
938 GDBusProxyFlags flags,
939 const gchar *name,
940 const gchar *object_path,
941 GCancellable *cancellable,
942 GAsyncReadyCallback callback,
943 gpointer user_data);
944SensorIntegerThreshold *sensor_integer_threshold_proxy_new_for_bus_finish (
945 GAsyncResult *res,
946 GError **error);
947SensorIntegerThreshold *sensor_integer_threshold_proxy_new_for_bus_sync (
948 GBusType bus_type,
949 GDBusProxyFlags flags,
950 const gchar *name,
951 const gchar *object_path,
952 GCancellable *cancellable,
953 GError **error);
954
955
956/* ---- */
957
958#define TYPE_SENSOR_INTEGER_THRESHOLD_SKELETON (sensor_integer_threshold_skeleton_get_type ())
959#define SENSOR_INTEGER_THRESHOLD_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_INTEGER_THRESHOLD_SKELETON, SensorIntegerThresholdSkeleton))
960#define SENSOR_INTEGER_THRESHOLD_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_INTEGER_THRESHOLD_SKELETON, SensorIntegerThresholdSkeletonClass))
961#define SENSOR_INTEGER_THRESHOLD_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_INTEGER_THRESHOLD_SKELETON, SensorIntegerThresholdSkeletonClass))
962#define IS_SENSOR_INTEGER_THRESHOLD_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_INTEGER_THRESHOLD_SKELETON))
963#define IS_SENSOR_INTEGER_THRESHOLD_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_INTEGER_THRESHOLD_SKELETON))
964
965typedef struct _SensorIntegerThresholdSkeleton SensorIntegerThresholdSkeleton;
966typedef struct _SensorIntegerThresholdSkeletonClass SensorIntegerThresholdSkeletonClass;
967typedef struct _SensorIntegerThresholdSkeletonPrivate SensorIntegerThresholdSkeletonPrivate;
968
969struct _SensorIntegerThresholdSkeleton
970{
971 /*< private >*/
972 GDBusInterfaceSkeleton parent_instance;
973 SensorIntegerThresholdSkeletonPrivate *priv;
974};
975
976struct _SensorIntegerThresholdSkeletonClass
977{
978 GDBusInterfaceSkeletonClass parent_class;
979};
980
981GType sensor_integer_threshold_skeleton_get_type (void) G_GNUC_CONST;
982
983SensorIntegerThreshold *sensor_integer_threshold_skeleton_new (void);
984
985
Norman Jamese2765102015-08-19 22:00:55 -0500986/* ---- */
987
988#define TYPE_OBJECT (object_get_type ())
989#define OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT, Object))
990#define IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT))
991#define OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_OBJECT, Object))
992
993struct _Object;
994typedef struct _Object Object;
995typedef struct _ObjectIface ObjectIface;
996
997struct _ObjectIface
998{
999 GTypeInterface parent_iface;
1000};
1001
1002GType object_get_type (void) G_GNUC_CONST;
1003
1004SensorInteger *object_get_sensor_integer (Object *object);
1005SensorString *object_get_sensor_string (Object *object);
1006SensorIntegerSettable *object_get_sensor_integer_settable (Object *object);
Norman Jamescc7ae122015-08-24 14:26:09 -05001007SensorIntegerThreshold *object_get_sensor_integer_threshold (Object *object);
Norman Jamese2765102015-08-19 22:00:55 -05001008SensorInteger *object_peek_sensor_integer (Object *object);
1009SensorString *object_peek_sensor_string (Object *object);
1010SensorIntegerSettable *object_peek_sensor_integer_settable (Object *object);
Norman Jamescc7ae122015-08-24 14:26:09 -05001011SensorIntegerThreshold *object_peek_sensor_integer_threshold (Object *object);
Norman Jamese2765102015-08-19 22:00:55 -05001012
1013#define TYPE_OBJECT_PROXY (object_proxy_get_type ())
1014#define OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_PROXY, ObjectProxy))
1015#define OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_PROXY, ObjectProxyClass))
1016#define OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_PROXY, ObjectProxyClass))
1017#define IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_PROXY))
1018#define IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_PROXY))
1019
1020typedef struct _ObjectProxy ObjectProxy;
1021typedef struct _ObjectProxyClass ObjectProxyClass;
1022typedef struct _ObjectProxyPrivate ObjectProxyPrivate;
1023
1024struct _ObjectProxy
1025{
1026 /*< private >*/
1027 GDBusObjectProxy parent_instance;
1028 ObjectProxyPrivate *priv;
1029};
1030
1031struct _ObjectProxyClass
1032{
1033 GDBusObjectProxyClass parent_class;
1034};
1035
1036GType object_proxy_get_type (void) G_GNUC_CONST;
1037ObjectProxy *object_proxy_new (GDBusConnection *connection, const gchar *object_path);
1038
1039#define TYPE_OBJECT_SKELETON (object_skeleton_get_type ())
1040#define OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_SKELETON, ObjectSkeleton))
1041#define OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_SKELETON, ObjectSkeletonClass))
1042#define OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_SKELETON, ObjectSkeletonClass))
1043#define IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_SKELETON))
1044#define IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_SKELETON))
1045
1046typedef struct _ObjectSkeleton ObjectSkeleton;
1047typedef struct _ObjectSkeletonClass ObjectSkeletonClass;
1048typedef struct _ObjectSkeletonPrivate ObjectSkeletonPrivate;
1049
1050struct _ObjectSkeleton
1051{
1052 /*< private >*/
1053 GDBusObjectSkeleton parent_instance;
1054 ObjectSkeletonPrivate *priv;
1055};
1056
1057struct _ObjectSkeletonClass
1058{
1059 GDBusObjectSkeletonClass parent_class;
1060};
1061
1062GType object_skeleton_get_type (void) G_GNUC_CONST;
1063ObjectSkeleton *object_skeleton_new (const gchar *object_path);
1064void object_skeleton_set_sensor_integer (ObjectSkeleton *object, SensorInteger *interface_);
1065void object_skeleton_set_sensor_string (ObjectSkeleton *object, SensorString *interface_);
1066void object_skeleton_set_sensor_integer_settable (ObjectSkeleton *object, SensorIntegerSettable *interface_);
Norman Jamescc7ae122015-08-24 14:26:09 -05001067void object_skeleton_set_sensor_integer_threshold (ObjectSkeleton *object, SensorIntegerThreshold *interface_);
Norman Jamese2765102015-08-19 22:00:55 -05001068
1069/* ---- */
1070
1071#define TYPE_OBJECT_MANAGER_CLIENT (object_manager_client_get_type ())
1072#define OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClient))
1073#define OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass))
1074#define OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass))
1075#define IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_MANAGER_CLIENT))
1076#define IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_MANAGER_CLIENT))
1077
1078typedef struct _ObjectManagerClient ObjectManagerClient;
1079typedef struct _ObjectManagerClientClass ObjectManagerClientClass;
1080typedef struct _ObjectManagerClientPrivate ObjectManagerClientPrivate;
1081
1082struct _ObjectManagerClient
1083{
1084 /*< private >*/
1085 GDBusObjectManagerClient parent_instance;
1086 ObjectManagerClientPrivate *priv;
1087};
1088
1089struct _ObjectManagerClientClass
1090{
1091 GDBusObjectManagerClientClass parent_class;
1092};
1093
1094GType object_manager_client_get_type (void) G_GNUC_CONST;
1095
1096GType object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data);
1097
1098void object_manager_client_new (
1099 GDBusConnection *connection,
1100 GDBusObjectManagerClientFlags flags,
1101 const gchar *name,
1102 const gchar *object_path,
1103 GCancellable *cancellable,
1104 GAsyncReadyCallback callback,
1105 gpointer user_data);
1106GDBusObjectManager *object_manager_client_new_finish (
1107 GAsyncResult *res,
1108 GError **error);
1109GDBusObjectManager *object_manager_client_new_sync (
1110 GDBusConnection *connection,
1111 GDBusObjectManagerClientFlags flags,
1112 const gchar *name,
1113 const gchar *object_path,
1114 GCancellable *cancellable,
1115 GError **error);
1116
1117void object_manager_client_new_for_bus (
1118 GBusType bus_type,
1119 GDBusObjectManagerClientFlags flags,
1120 const gchar *name,
1121 const gchar *object_path,
1122 GCancellable *cancellable,
1123 GAsyncReadyCallback callback,
1124 gpointer user_data);
1125GDBusObjectManager *object_manager_client_new_for_bus_finish (
1126 GAsyncResult *res,
1127 GError **error);
1128GDBusObjectManager *object_manager_client_new_for_bus_sync (
1129 GBusType bus_type,
1130 GDBusObjectManagerClientFlags flags,
1131 const gchar *name,
1132 const gchar *object_path,
1133 GCancellable *cancellable,
1134 GError **error);
1135
1136
1137G_END_DECLS
1138
1139#endif /* __INTERFACES_SENSOR_H__ */