| Norman James | ce46e3e | 2015-08-30 22:25:55 -0500 | [diff] [blame] | 1 | /* | 
|  | 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_CONTROL_H__ | 
|  | 8 | #define __INTERFACES_CONTROL_H__ | 
|  | 9 |  | 
|  | 10 | #include <gio/gio.h> | 
|  | 11 |  | 
|  | 12 | G_BEGIN_DECLS | 
|  | 13 |  | 
|  | 14 |  | 
|  | 15 | /* ------------------------------------------------------------------------ */ | 
|  | 16 | /* Declarations for org.openbmc.Control */ | 
|  | 17 |  | 
|  | 18 | #define TYPE_CONTROL (control_get_type ()) | 
|  | 19 | #define CONTROL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL, Control)) | 
|  | 20 | #define IS_CONTROL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL)) | 
|  | 21 | #define CONTROL_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL, ControlIface)) | 
|  | 22 |  | 
|  | 23 | struct _Control; | 
|  | 24 | typedef struct _Control Control; | 
|  | 25 | typedef struct _ControlIface ControlIface; | 
|  | 26 |  | 
|  | 27 | struct _ControlIface | 
|  | 28 | { | 
|  | 29 | GTypeInterface parent_iface; | 
|  | 30 |  | 
|  | 31 |  | 
|  | 32 |  | 
|  | 33 | gboolean (*handle_set_poll_interval) ( | 
|  | 34 | Control *object, | 
|  | 35 | GDBusMethodInvocation *invocation, | 
|  | 36 | gint arg_poll_interval); | 
|  | 37 |  | 
|  | 38 | gint  (*get_heatbeat) (Control *object); | 
|  | 39 |  | 
|  | 40 | gint  (*get_poll_interval) (Control *object); | 
|  | 41 |  | 
|  | 42 | void (*heartbeat) ( | 
|  | 43 | Control *object, | 
|  | 44 | const gchar *arg_bus_name); | 
|  | 45 |  | 
|  | 46 | }; | 
|  | 47 |  | 
|  | 48 | GType control_get_type (void) G_GNUC_CONST; | 
|  | 49 |  | 
|  | 50 | GDBusInterfaceInfo *control_interface_info (void); | 
|  | 51 | guint control_override_properties (GObjectClass *klass, guint property_id_begin); | 
|  | 52 |  | 
|  | 53 |  | 
|  | 54 | /* D-Bus method call completion functions: */ | 
|  | 55 | void control_complete_set_poll_interval ( | 
|  | 56 | Control *object, | 
|  | 57 | GDBusMethodInvocation *invocation); | 
|  | 58 |  | 
|  | 59 |  | 
|  | 60 |  | 
|  | 61 | /* D-Bus signal emissions functions: */ | 
|  | 62 | void control_emit_heartbeat ( | 
|  | 63 | Control *object, | 
|  | 64 | const gchar *arg_bus_name); | 
|  | 65 |  | 
|  | 66 |  | 
|  | 67 |  | 
|  | 68 | /* D-Bus method calls: */ | 
|  | 69 | void control_call_set_poll_interval ( | 
|  | 70 | Control *proxy, | 
|  | 71 | gint arg_poll_interval, | 
|  | 72 | GCancellable *cancellable, | 
|  | 73 | GAsyncReadyCallback callback, | 
|  | 74 | gpointer user_data); | 
|  | 75 |  | 
|  | 76 | gboolean control_call_set_poll_interval_finish ( | 
|  | 77 | Control *proxy, | 
|  | 78 | GAsyncResult *res, | 
|  | 79 | GError **error); | 
|  | 80 |  | 
|  | 81 | gboolean control_call_set_poll_interval_sync ( | 
|  | 82 | Control *proxy, | 
|  | 83 | gint arg_poll_interval, | 
|  | 84 | GCancellable *cancellable, | 
|  | 85 | GError **error); | 
|  | 86 |  | 
|  | 87 |  | 
|  | 88 |  | 
|  | 89 | /* D-Bus property accessors: */ | 
|  | 90 | gint control_get_poll_interval (Control *object); | 
|  | 91 | void control_set_poll_interval (Control *object, gint value); | 
|  | 92 |  | 
|  | 93 | gint control_get_heatbeat (Control *object); | 
|  | 94 | void control_set_heatbeat (Control *object, gint value); | 
|  | 95 |  | 
|  | 96 |  | 
|  | 97 | /* ---- */ | 
|  | 98 |  | 
|  | 99 | #define TYPE_CONTROL_PROXY (control_proxy_get_type ()) | 
|  | 100 | #define CONTROL_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_PROXY, ControlProxy)) | 
|  | 101 | #define CONTROL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_PROXY, ControlProxyClass)) | 
|  | 102 | #define CONTROL_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_PROXY, ControlProxyClass)) | 
|  | 103 | #define IS_CONTROL_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_PROXY)) | 
|  | 104 | #define IS_CONTROL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_PROXY)) | 
|  | 105 |  | 
|  | 106 | typedef struct _ControlProxy ControlProxy; | 
|  | 107 | typedef struct _ControlProxyClass ControlProxyClass; | 
|  | 108 | typedef struct _ControlProxyPrivate ControlProxyPrivate; | 
|  | 109 |  | 
|  | 110 | struct _ControlProxy | 
|  | 111 | { | 
|  | 112 | /*< private >*/ | 
|  | 113 | GDBusProxy parent_instance; | 
|  | 114 | ControlProxyPrivate *priv; | 
|  | 115 | }; | 
|  | 116 |  | 
|  | 117 | struct _ControlProxyClass | 
|  | 118 | { | 
|  | 119 | GDBusProxyClass parent_class; | 
|  | 120 | }; | 
|  | 121 |  | 
|  | 122 | GType control_proxy_get_type (void) G_GNUC_CONST; | 
|  | 123 |  | 
|  | 124 | void control_proxy_new ( | 
|  | 125 | GDBusConnection     *connection, | 
|  | 126 | GDBusProxyFlags      flags, | 
|  | 127 | const gchar         *name, | 
|  | 128 | const gchar         *object_path, | 
|  | 129 | GCancellable        *cancellable, | 
|  | 130 | GAsyncReadyCallback  callback, | 
|  | 131 | gpointer             user_data); | 
|  | 132 | Control *control_proxy_new_finish ( | 
|  | 133 | GAsyncResult        *res, | 
|  | 134 | GError             **error); | 
|  | 135 | Control *control_proxy_new_sync ( | 
|  | 136 | GDBusConnection     *connection, | 
|  | 137 | GDBusProxyFlags      flags, | 
|  | 138 | const gchar         *name, | 
|  | 139 | const gchar         *object_path, | 
|  | 140 | GCancellable        *cancellable, | 
|  | 141 | GError             **error); | 
|  | 142 |  | 
|  | 143 | void control_proxy_new_for_bus ( | 
|  | 144 | GBusType             bus_type, | 
|  | 145 | GDBusProxyFlags      flags, | 
|  | 146 | const gchar         *name, | 
|  | 147 | const gchar         *object_path, | 
|  | 148 | GCancellable        *cancellable, | 
|  | 149 | GAsyncReadyCallback  callback, | 
|  | 150 | gpointer             user_data); | 
|  | 151 | Control *control_proxy_new_for_bus_finish ( | 
|  | 152 | GAsyncResult        *res, | 
|  | 153 | GError             **error); | 
|  | 154 | Control *control_proxy_new_for_bus_sync ( | 
|  | 155 | GBusType             bus_type, | 
|  | 156 | GDBusProxyFlags      flags, | 
|  | 157 | const gchar         *name, | 
|  | 158 | const gchar         *object_path, | 
|  | 159 | GCancellable        *cancellable, | 
|  | 160 | GError             **error); | 
|  | 161 |  | 
|  | 162 |  | 
|  | 163 | /* ---- */ | 
|  | 164 |  | 
|  | 165 | #define TYPE_CONTROL_SKELETON (control_skeleton_get_type ()) | 
|  | 166 | #define CONTROL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_SKELETON, ControlSkeleton)) | 
|  | 167 | #define CONTROL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_SKELETON, ControlSkeletonClass)) | 
|  | 168 | #define CONTROL_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_SKELETON, ControlSkeletonClass)) | 
|  | 169 | #define IS_CONTROL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_SKELETON)) | 
|  | 170 | #define IS_CONTROL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_SKELETON)) | 
|  | 171 |  | 
|  | 172 | typedef struct _ControlSkeleton ControlSkeleton; | 
|  | 173 | typedef struct _ControlSkeletonClass ControlSkeletonClass; | 
|  | 174 | typedef struct _ControlSkeletonPrivate ControlSkeletonPrivate; | 
|  | 175 |  | 
|  | 176 | struct _ControlSkeleton | 
|  | 177 | { | 
|  | 178 | /*< private >*/ | 
|  | 179 | GDBusInterfaceSkeleton parent_instance; | 
|  | 180 | ControlSkeletonPrivate *priv; | 
|  | 181 | }; | 
|  | 182 |  | 
|  | 183 | struct _ControlSkeletonClass | 
|  | 184 | { | 
|  | 185 | GDBusInterfaceSkeletonClass parent_class; | 
|  | 186 | }; | 
|  | 187 |  | 
|  | 188 | GType control_skeleton_get_type (void) G_GNUC_CONST; | 
|  | 189 |  | 
|  | 190 | Control *control_skeleton_new (void); | 
|  | 191 |  | 
|  | 192 |  | 
|  | 193 | /* ------------------------------------------------------------------------ */ | 
|  | 194 | /* Declarations for org.openbmc.control.Host */ | 
|  | 195 |  | 
|  | 196 | #define TYPE_CONTROL_HOST (control_host_get_type ()) | 
|  | 197 | #define CONTROL_HOST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST, ControlHost)) | 
|  | 198 | #define IS_CONTROL_HOST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST)) | 
|  | 199 | #define CONTROL_HOST_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_HOST, ControlHostIface)) | 
|  | 200 |  | 
|  | 201 | struct _ControlHost; | 
|  | 202 | typedef struct _ControlHost ControlHost; | 
|  | 203 | typedef struct _ControlHostIface ControlHostIface; | 
|  | 204 |  | 
|  | 205 | struct _ControlHostIface | 
|  | 206 | { | 
|  | 207 | GTypeInterface parent_iface; | 
|  | 208 |  | 
|  | 209 |  | 
|  | 210 | gboolean (*handle_boot) ( | 
|  | 211 | ControlHost *object, | 
|  | 212 | GDBusMethodInvocation *invocation); | 
|  | 213 |  | 
|  | 214 | gboolean (*handle_reboot) ( | 
|  | 215 | ControlHost *object, | 
|  | 216 | GDBusMethodInvocation *invocation); | 
|  | 217 |  | 
|  | 218 | gboolean (*handle_shutdown) ( | 
|  | 219 | ControlHost *object, | 
|  | 220 | GDBusMethodInvocation *invocation); | 
|  | 221 |  | 
|  | 222 | void (*booted) ( | 
|  | 223 | ControlHost *object); | 
|  | 224 |  | 
|  | 225 | }; | 
|  | 226 |  | 
|  | 227 | GType control_host_get_type (void) G_GNUC_CONST; | 
|  | 228 |  | 
|  | 229 | GDBusInterfaceInfo *control_host_interface_info (void); | 
|  | 230 | guint control_host_override_properties (GObjectClass *klass, guint property_id_begin); | 
|  | 231 |  | 
|  | 232 |  | 
|  | 233 | /* D-Bus method call completion functions: */ | 
|  | 234 | void control_host_complete_boot ( | 
|  | 235 | ControlHost *object, | 
|  | 236 | GDBusMethodInvocation *invocation); | 
|  | 237 |  | 
|  | 238 | void control_host_complete_shutdown ( | 
|  | 239 | ControlHost *object, | 
|  | 240 | GDBusMethodInvocation *invocation); | 
|  | 241 |  | 
|  | 242 | void control_host_complete_reboot ( | 
|  | 243 | ControlHost *object, | 
|  | 244 | GDBusMethodInvocation *invocation); | 
|  | 245 |  | 
|  | 246 |  | 
|  | 247 |  | 
|  | 248 | /* D-Bus signal emissions functions: */ | 
|  | 249 | void control_host_emit_booted ( | 
|  | 250 | ControlHost *object); | 
|  | 251 |  | 
|  | 252 |  | 
|  | 253 |  | 
|  | 254 | /* D-Bus method calls: */ | 
|  | 255 | void control_host_call_boot ( | 
|  | 256 | ControlHost *proxy, | 
|  | 257 | GCancellable *cancellable, | 
|  | 258 | GAsyncReadyCallback callback, | 
|  | 259 | gpointer user_data); | 
|  | 260 |  | 
|  | 261 | gboolean control_host_call_boot_finish ( | 
|  | 262 | ControlHost *proxy, | 
|  | 263 | GAsyncResult *res, | 
|  | 264 | GError **error); | 
|  | 265 |  | 
|  | 266 | gboolean control_host_call_boot_sync ( | 
|  | 267 | ControlHost *proxy, | 
|  | 268 | GCancellable *cancellable, | 
|  | 269 | GError **error); | 
|  | 270 |  | 
|  | 271 | void control_host_call_shutdown ( | 
|  | 272 | ControlHost *proxy, | 
|  | 273 | GCancellable *cancellable, | 
|  | 274 | GAsyncReadyCallback callback, | 
|  | 275 | gpointer user_data); | 
|  | 276 |  | 
|  | 277 | gboolean control_host_call_shutdown_finish ( | 
|  | 278 | ControlHost *proxy, | 
|  | 279 | GAsyncResult *res, | 
|  | 280 | GError **error); | 
|  | 281 |  | 
|  | 282 | gboolean control_host_call_shutdown_sync ( | 
|  | 283 | ControlHost *proxy, | 
|  | 284 | GCancellable *cancellable, | 
|  | 285 | GError **error); | 
|  | 286 |  | 
|  | 287 | void control_host_call_reboot ( | 
|  | 288 | ControlHost *proxy, | 
|  | 289 | GCancellable *cancellable, | 
|  | 290 | GAsyncReadyCallback callback, | 
|  | 291 | gpointer user_data); | 
|  | 292 |  | 
|  | 293 | gboolean control_host_call_reboot_finish ( | 
|  | 294 | ControlHost *proxy, | 
|  | 295 | GAsyncResult *res, | 
|  | 296 | GError **error); | 
|  | 297 |  | 
|  | 298 | gboolean control_host_call_reboot_sync ( | 
|  | 299 | ControlHost *proxy, | 
|  | 300 | GCancellable *cancellable, | 
|  | 301 | GError **error); | 
|  | 302 |  | 
|  | 303 |  | 
|  | 304 |  | 
|  | 305 | /* ---- */ | 
|  | 306 |  | 
|  | 307 | #define TYPE_CONTROL_HOST_PROXY (control_host_proxy_get_type ()) | 
|  | 308 | #define CONTROL_HOST_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST_PROXY, ControlHostProxy)) | 
|  | 309 | #define CONTROL_HOST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_HOST_PROXY, ControlHostProxyClass)) | 
|  | 310 | #define CONTROL_HOST_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_HOST_PROXY, ControlHostProxyClass)) | 
|  | 311 | #define IS_CONTROL_HOST_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST_PROXY)) | 
|  | 312 | #define IS_CONTROL_HOST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_HOST_PROXY)) | 
|  | 313 |  | 
|  | 314 | typedef struct _ControlHostProxy ControlHostProxy; | 
|  | 315 | typedef struct _ControlHostProxyClass ControlHostProxyClass; | 
|  | 316 | typedef struct _ControlHostProxyPrivate ControlHostProxyPrivate; | 
|  | 317 |  | 
|  | 318 | struct _ControlHostProxy | 
|  | 319 | { | 
|  | 320 | /*< private >*/ | 
|  | 321 | GDBusProxy parent_instance; | 
|  | 322 | ControlHostProxyPrivate *priv; | 
|  | 323 | }; | 
|  | 324 |  | 
|  | 325 | struct _ControlHostProxyClass | 
|  | 326 | { | 
|  | 327 | GDBusProxyClass parent_class; | 
|  | 328 | }; | 
|  | 329 |  | 
|  | 330 | GType control_host_proxy_get_type (void) G_GNUC_CONST; | 
|  | 331 |  | 
|  | 332 | void control_host_proxy_new ( | 
|  | 333 | GDBusConnection     *connection, | 
|  | 334 | GDBusProxyFlags      flags, | 
|  | 335 | const gchar         *name, | 
|  | 336 | const gchar         *object_path, | 
|  | 337 | GCancellable        *cancellable, | 
|  | 338 | GAsyncReadyCallback  callback, | 
|  | 339 | gpointer             user_data); | 
|  | 340 | ControlHost *control_host_proxy_new_finish ( | 
|  | 341 | GAsyncResult        *res, | 
|  | 342 | GError             **error); | 
|  | 343 | ControlHost *control_host_proxy_new_sync ( | 
|  | 344 | GDBusConnection     *connection, | 
|  | 345 | GDBusProxyFlags      flags, | 
|  | 346 | const gchar         *name, | 
|  | 347 | const gchar         *object_path, | 
|  | 348 | GCancellable        *cancellable, | 
|  | 349 | GError             **error); | 
|  | 350 |  | 
|  | 351 | void control_host_proxy_new_for_bus ( | 
|  | 352 | GBusType             bus_type, | 
|  | 353 | GDBusProxyFlags      flags, | 
|  | 354 | const gchar         *name, | 
|  | 355 | const gchar         *object_path, | 
|  | 356 | GCancellable        *cancellable, | 
|  | 357 | GAsyncReadyCallback  callback, | 
|  | 358 | gpointer             user_data); | 
|  | 359 | ControlHost *control_host_proxy_new_for_bus_finish ( | 
|  | 360 | GAsyncResult        *res, | 
|  | 361 | GError             **error); | 
|  | 362 | ControlHost *control_host_proxy_new_for_bus_sync ( | 
|  | 363 | GBusType             bus_type, | 
|  | 364 | GDBusProxyFlags      flags, | 
|  | 365 | const gchar         *name, | 
|  | 366 | const gchar         *object_path, | 
|  | 367 | GCancellable        *cancellable, | 
|  | 368 | GError             **error); | 
|  | 369 |  | 
|  | 370 |  | 
|  | 371 | /* ---- */ | 
|  | 372 |  | 
|  | 373 | #define TYPE_CONTROL_HOST_SKELETON (control_host_skeleton_get_type ()) | 
|  | 374 | #define CONTROL_HOST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeleton)) | 
|  | 375 | #define CONTROL_HOST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeletonClass)) | 
|  | 376 | #define CONTROL_HOST_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeletonClass)) | 
|  | 377 | #define IS_CONTROL_HOST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST_SKELETON)) | 
|  | 378 | #define IS_CONTROL_HOST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_HOST_SKELETON)) | 
|  | 379 |  | 
|  | 380 | typedef struct _ControlHostSkeleton ControlHostSkeleton; | 
|  | 381 | typedef struct _ControlHostSkeletonClass ControlHostSkeletonClass; | 
|  | 382 | typedef struct _ControlHostSkeletonPrivate ControlHostSkeletonPrivate; | 
|  | 383 |  | 
|  | 384 | struct _ControlHostSkeleton | 
|  | 385 | { | 
|  | 386 | /*< private >*/ | 
|  | 387 | GDBusInterfaceSkeleton parent_instance; | 
|  | 388 | ControlHostSkeletonPrivate *priv; | 
|  | 389 | }; | 
|  | 390 |  | 
|  | 391 | struct _ControlHostSkeletonClass | 
|  | 392 | { | 
|  | 393 | GDBusInterfaceSkeletonClass parent_class; | 
|  | 394 | }; | 
|  | 395 |  | 
|  | 396 | GType control_host_skeleton_get_type (void) G_GNUC_CONST; | 
|  | 397 |  | 
|  | 398 | ControlHost *control_host_skeleton_new (void); | 
|  | 399 |  | 
|  | 400 |  | 
|  | 401 | /* ------------------------------------------------------------------------ */ | 
|  | 402 | /* Declarations for org.openbmc.control.Power */ | 
|  | 403 |  | 
|  | 404 | #define TYPE_CONTROL_POWER (control_power_get_type ()) | 
|  | 405 | #define CONTROL_POWER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER, ControlPower)) | 
|  | 406 | #define IS_CONTROL_POWER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER)) | 
|  | 407 | #define CONTROL_POWER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_POWER, ControlPowerIface)) | 
|  | 408 |  | 
|  | 409 | struct _ControlPower; | 
|  | 410 | typedef struct _ControlPower ControlPower; | 
|  | 411 | typedef struct _ControlPowerIface ControlPowerIface; | 
|  | 412 |  | 
|  | 413 | struct _ControlPowerIface | 
|  | 414 | { | 
|  | 415 | GTypeInterface parent_iface; | 
|  | 416 |  | 
|  | 417 |  | 
|  | 418 |  | 
|  | 419 | gboolean (*handle_get_power_state) ( | 
|  | 420 | ControlPower *object, | 
|  | 421 | GDBusMethodInvocation *invocation); | 
|  | 422 |  | 
|  | 423 | gboolean (*handle_set_power_state) ( | 
|  | 424 | ControlPower *object, | 
|  | 425 | GDBusMethodInvocation *invocation, | 
|  | 426 | gint arg_state); | 
|  | 427 |  | 
|  | 428 | gint  (*get_pgood) (ControlPower *object); | 
|  | 429 |  | 
|  | 430 | gint  (*get_state) (ControlPower *object); | 
|  | 431 |  | 
|  | 432 | void (*power_good) ( | 
|  | 433 | ControlPower *object); | 
|  | 434 |  | 
|  | 435 | void (*power_lost) ( | 
|  | 436 | ControlPower *object); | 
|  | 437 |  | 
|  | 438 | }; | 
|  | 439 |  | 
|  | 440 | GType control_power_get_type (void) G_GNUC_CONST; | 
|  | 441 |  | 
|  | 442 | GDBusInterfaceInfo *control_power_interface_info (void); | 
|  | 443 | guint control_power_override_properties (GObjectClass *klass, guint property_id_begin); | 
|  | 444 |  | 
|  | 445 |  | 
|  | 446 | /* D-Bus method call completion functions: */ | 
|  | 447 | void control_power_complete_set_power_state ( | 
|  | 448 | ControlPower *object, | 
|  | 449 | GDBusMethodInvocation *invocation); | 
|  | 450 |  | 
|  | 451 | void control_power_complete_get_power_state ( | 
|  | 452 | ControlPower *object, | 
|  | 453 | GDBusMethodInvocation *invocation, | 
|  | 454 | gint state); | 
|  | 455 |  | 
|  | 456 |  | 
|  | 457 |  | 
|  | 458 | /* D-Bus signal emissions functions: */ | 
|  | 459 | void control_power_emit_power_good ( | 
|  | 460 | ControlPower *object); | 
|  | 461 |  | 
|  | 462 | void control_power_emit_power_lost ( | 
|  | 463 | ControlPower *object); | 
|  | 464 |  | 
|  | 465 |  | 
|  | 466 |  | 
|  | 467 | /* D-Bus method calls: */ | 
|  | 468 | void control_power_call_set_power_state ( | 
|  | 469 | ControlPower *proxy, | 
|  | 470 | gint arg_state, | 
|  | 471 | GCancellable *cancellable, | 
|  | 472 | GAsyncReadyCallback callback, | 
|  | 473 | gpointer user_data); | 
|  | 474 |  | 
|  | 475 | gboolean control_power_call_set_power_state_finish ( | 
|  | 476 | ControlPower *proxy, | 
|  | 477 | GAsyncResult *res, | 
|  | 478 | GError **error); | 
|  | 479 |  | 
|  | 480 | gboolean control_power_call_set_power_state_sync ( | 
|  | 481 | ControlPower *proxy, | 
|  | 482 | gint arg_state, | 
|  | 483 | GCancellable *cancellable, | 
|  | 484 | GError **error); | 
|  | 485 |  | 
|  | 486 | void control_power_call_get_power_state ( | 
|  | 487 | ControlPower *proxy, | 
|  | 488 | GCancellable *cancellable, | 
|  | 489 | GAsyncReadyCallback callback, | 
|  | 490 | gpointer user_data); | 
|  | 491 |  | 
|  | 492 | gboolean control_power_call_get_power_state_finish ( | 
|  | 493 | ControlPower *proxy, | 
|  | 494 | gint *out_state, | 
|  | 495 | GAsyncResult *res, | 
|  | 496 | GError **error); | 
|  | 497 |  | 
|  | 498 | gboolean control_power_call_get_power_state_sync ( | 
|  | 499 | ControlPower *proxy, | 
|  | 500 | gint *out_state, | 
|  | 501 | GCancellable *cancellable, | 
|  | 502 | GError **error); | 
|  | 503 |  | 
|  | 504 |  | 
|  | 505 |  | 
|  | 506 | /* D-Bus property accessors: */ | 
|  | 507 | gint control_power_get_pgood (ControlPower *object); | 
|  | 508 | void control_power_set_pgood (ControlPower *object, gint value); | 
|  | 509 |  | 
|  | 510 | gint control_power_get_state (ControlPower *object); | 
|  | 511 | void control_power_set_state (ControlPower *object, gint value); | 
|  | 512 |  | 
|  | 513 |  | 
|  | 514 | /* ---- */ | 
|  | 515 |  | 
|  | 516 | #define TYPE_CONTROL_POWER_PROXY (control_power_proxy_get_type ()) | 
|  | 517 | #define CONTROL_POWER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER_PROXY, ControlPowerProxy)) | 
|  | 518 | #define CONTROL_POWER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_POWER_PROXY, ControlPowerProxyClass)) | 
|  | 519 | #define CONTROL_POWER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_POWER_PROXY, ControlPowerProxyClass)) | 
|  | 520 | #define IS_CONTROL_POWER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER_PROXY)) | 
|  | 521 | #define IS_CONTROL_POWER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_POWER_PROXY)) | 
|  | 522 |  | 
|  | 523 | typedef struct _ControlPowerProxy ControlPowerProxy; | 
|  | 524 | typedef struct _ControlPowerProxyClass ControlPowerProxyClass; | 
|  | 525 | typedef struct _ControlPowerProxyPrivate ControlPowerProxyPrivate; | 
|  | 526 |  | 
|  | 527 | struct _ControlPowerProxy | 
|  | 528 | { | 
|  | 529 | /*< private >*/ | 
|  | 530 | GDBusProxy parent_instance; | 
|  | 531 | ControlPowerProxyPrivate *priv; | 
|  | 532 | }; | 
|  | 533 |  | 
|  | 534 | struct _ControlPowerProxyClass | 
|  | 535 | { | 
|  | 536 | GDBusProxyClass parent_class; | 
|  | 537 | }; | 
|  | 538 |  | 
|  | 539 | GType control_power_proxy_get_type (void) G_GNUC_CONST; | 
|  | 540 |  | 
|  | 541 | void control_power_proxy_new ( | 
|  | 542 | GDBusConnection     *connection, | 
|  | 543 | GDBusProxyFlags      flags, | 
|  | 544 | const gchar         *name, | 
|  | 545 | const gchar         *object_path, | 
|  | 546 | GCancellable        *cancellable, | 
|  | 547 | GAsyncReadyCallback  callback, | 
|  | 548 | gpointer             user_data); | 
|  | 549 | ControlPower *control_power_proxy_new_finish ( | 
|  | 550 | GAsyncResult        *res, | 
|  | 551 | GError             **error); | 
|  | 552 | ControlPower *control_power_proxy_new_sync ( | 
|  | 553 | GDBusConnection     *connection, | 
|  | 554 | GDBusProxyFlags      flags, | 
|  | 555 | const gchar         *name, | 
|  | 556 | const gchar         *object_path, | 
|  | 557 | GCancellable        *cancellable, | 
|  | 558 | GError             **error); | 
|  | 559 |  | 
|  | 560 | void control_power_proxy_new_for_bus ( | 
|  | 561 | GBusType             bus_type, | 
|  | 562 | GDBusProxyFlags      flags, | 
|  | 563 | const gchar         *name, | 
|  | 564 | const gchar         *object_path, | 
|  | 565 | GCancellable        *cancellable, | 
|  | 566 | GAsyncReadyCallback  callback, | 
|  | 567 | gpointer             user_data); | 
|  | 568 | ControlPower *control_power_proxy_new_for_bus_finish ( | 
|  | 569 | GAsyncResult        *res, | 
|  | 570 | GError             **error); | 
|  | 571 | ControlPower *control_power_proxy_new_for_bus_sync ( | 
|  | 572 | GBusType             bus_type, | 
|  | 573 | GDBusProxyFlags      flags, | 
|  | 574 | const gchar         *name, | 
|  | 575 | const gchar         *object_path, | 
|  | 576 | GCancellable        *cancellable, | 
|  | 577 | GError             **error); | 
|  | 578 |  | 
|  | 579 |  | 
|  | 580 | /* ---- */ | 
|  | 581 |  | 
|  | 582 | #define TYPE_CONTROL_POWER_SKELETON (control_power_skeleton_get_type ()) | 
|  | 583 | #define CONTROL_POWER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeleton)) | 
|  | 584 | #define CONTROL_POWER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeletonClass)) | 
|  | 585 | #define CONTROL_POWER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeletonClass)) | 
|  | 586 | #define IS_CONTROL_POWER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER_SKELETON)) | 
|  | 587 | #define IS_CONTROL_POWER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_POWER_SKELETON)) | 
|  | 588 |  | 
|  | 589 | typedef struct _ControlPowerSkeleton ControlPowerSkeleton; | 
|  | 590 | typedef struct _ControlPowerSkeletonClass ControlPowerSkeletonClass; | 
|  | 591 | typedef struct _ControlPowerSkeletonPrivate ControlPowerSkeletonPrivate; | 
|  | 592 |  | 
|  | 593 | struct _ControlPowerSkeleton | 
|  | 594 | { | 
|  | 595 | /*< private >*/ | 
|  | 596 | GDBusInterfaceSkeleton parent_instance; | 
|  | 597 | ControlPowerSkeletonPrivate *priv; | 
|  | 598 | }; | 
|  | 599 |  | 
|  | 600 | struct _ControlPowerSkeletonClass | 
|  | 601 | { | 
|  | 602 | GDBusInterfaceSkeletonClass parent_class; | 
|  | 603 | }; | 
|  | 604 |  | 
|  | 605 | GType control_power_skeleton_get_type (void) G_GNUC_CONST; | 
|  | 606 |  | 
|  | 607 | ControlPower *control_power_skeleton_new (void); | 
|  | 608 |  | 
|  | 609 |  | 
|  | 610 | /* ------------------------------------------------------------------------ */ | 
|  | 611 | /* Declarations for org.openbmc.EventLog */ | 
|  | 612 |  | 
|  | 613 | #define TYPE_EVENT_LOG (event_log_get_type ()) | 
|  | 614 | #define EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG, EventLog)) | 
|  | 615 | #define IS_EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG)) | 
|  | 616 | #define EVENT_LOG_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_EVENT_LOG, EventLogIface)) | 
|  | 617 |  | 
|  | 618 | struct _EventLog; | 
|  | 619 | typedef struct _EventLog EventLog; | 
|  | 620 | typedef struct _EventLogIface EventLogIface; | 
|  | 621 |  | 
|  | 622 | struct _EventLogIface | 
|  | 623 | { | 
|  | 624 | GTypeInterface parent_iface; | 
|  | 625 |  | 
|  | 626 | void (*event_log) ( | 
|  | 627 | EventLog *object, | 
|  | 628 | GVariant *arg_message); | 
|  | 629 |  | 
|  | 630 | }; | 
|  | 631 |  | 
|  | 632 | GType event_log_get_type (void) G_GNUC_CONST; | 
|  | 633 |  | 
|  | 634 | GDBusInterfaceInfo *event_log_interface_info (void); | 
|  | 635 | guint event_log_override_properties (GObjectClass *klass, guint property_id_begin); | 
|  | 636 |  | 
|  | 637 |  | 
|  | 638 | /* D-Bus signal emissions functions: */ | 
|  | 639 | void event_log_emit_event_log ( | 
|  | 640 | EventLog *object, | 
|  | 641 | GVariant *arg_message); | 
|  | 642 |  | 
|  | 643 |  | 
|  | 644 |  | 
|  | 645 | /* ---- */ | 
|  | 646 |  | 
|  | 647 | #define TYPE_EVENT_LOG_PROXY (event_log_proxy_get_type ()) | 
|  | 648 | #define EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_PROXY, EventLogProxy)) | 
|  | 649 | #define EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_PROXY, EventLogProxyClass)) | 
|  | 650 | #define EVENT_LOG_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_PROXY, EventLogProxyClass)) | 
|  | 651 | #define IS_EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_PROXY)) | 
|  | 652 | #define IS_EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_PROXY)) | 
|  | 653 |  | 
|  | 654 | typedef struct _EventLogProxy EventLogProxy; | 
|  | 655 | typedef struct _EventLogProxyClass EventLogProxyClass; | 
|  | 656 | typedef struct _EventLogProxyPrivate EventLogProxyPrivate; | 
|  | 657 |  | 
|  | 658 | struct _EventLogProxy | 
|  | 659 | { | 
|  | 660 | /*< private >*/ | 
|  | 661 | GDBusProxy parent_instance; | 
|  | 662 | EventLogProxyPrivate *priv; | 
|  | 663 | }; | 
|  | 664 |  | 
|  | 665 | struct _EventLogProxyClass | 
|  | 666 | { | 
|  | 667 | GDBusProxyClass parent_class; | 
|  | 668 | }; | 
|  | 669 |  | 
|  | 670 | GType event_log_proxy_get_type (void) G_GNUC_CONST; | 
|  | 671 |  | 
|  | 672 | void event_log_proxy_new ( | 
|  | 673 | GDBusConnection     *connection, | 
|  | 674 | GDBusProxyFlags      flags, | 
|  | 675 | const gchar         *name, | 
|  | 676 | const gchar         *object_path, | 
|  | 677 | GCancellable        *cancellable, | 
|  | 678 | GAsyncReadyCallback  callback, | 
|  | 679 | gpointer             user_data); | 
|  | 680 | EventLog *event_log_proxy_new_finish ( | 
|  | 681 | GAsyncResult        *res, | 
|  | 682 | GError             **error); | 
|  | 683 | EventLog *event_log_proxy_new_sync ( | 
|  | 684 | GDBusConnection     *connection, | 
|  | 685 | GDBusProxyFlags      flags, | 
|  | 686 | const gchar         *name, | 
|  | 687 | const gchar         *object_path, | 
|  | 688 | GCancellable        *cancellable, | 
|  | 689 | GError             **error); | 
|  | 690 |  | 
|  | 691 | void event_log_proxy_new_for_bus ( | 
|  | 692 | GBusType             bus_type, | 
|  | 693 | GDBusProxyFlags      flags, | 
|  | 694 | const gchar         *name, | 
|  | 695 | const gchar         *object_path, | 
|  | 696 | GCancellable        *cancellable, | 
|  | 697 | GAsyncReadyCallback  callback, | 
|  | 698 | gpointer             user_data); | 
|  | 699 | EventLog *event_log_proxy_new_for_bus_finish ( | 
|  | 700 | GAsyncResult        *res, | 
|  | 701 | GError             **error); | 
|  | 702 | EventLog *event_log_proxy_new_for_bus_sync ( | 
|  | 703 | GBusType             bus_type, | 
|  | 704 | GDBusProxyFlags      flags, | 
|  | 705 | const gchar         *name, | 
|  | 706 | const gchar         *object_path, | 
|  | 707 | GCancellable        *cancellable, | 
|  | 708 | GError             **error); | 
|  | 709 |  | 
|  | 710 |  | 
|  | 711 | /* ---- */ | 
|  | 712 |  | 
|  | 713 | #define TYPE_EVENT_LOG_SKELETON (event_log_skeleton_get_type ()) | 
|  | 714 | #define EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeleton)) | 
|  | 715 | #define EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass)) | 
|  | 716 | #define EVENT_LOG_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass)) | 
|  | 717 | #define IS_EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_SKELETON)) | 
|  | 718 | #define IS_EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_SKELETON)) | 
|  | 719 |  | 
|  | 720 | typedef struct _EventLogSkeleton EventLogSkeleton; | 
|  | 721 | typedef struct _EventLogSkeletonClass EventLogSkeletonClass; | 
|  | 722 | typedef struct _EventLogSkeletonPrivate EventLogSkeletonPrivate; | 
|  | 723 |  | 
|  | 724 | struct _EventLogSkeleton | 
|  | 725 | { | 
|  | 726 | /*< private >*/ | 
|  | 727 | GDBusInterfaceSkeleton parent_instance; | 
|  | 728 | EventLogSkeletonPrivate *priv; | 
|  | 729 | }; | 
|  | 730 |  | 
|  | 731 | struct _EventLogSkeletonClass | 
|  | 732 | { | 
|  | 733 | GDBusInterfaceSkeletonClass parent_class; | 
|  | 734 | }; | 
|  | 735 |  | 
|  | 736 | GType event_log_skeleton_get_type (void) G_GNUC_CONST; | 
|  | 737 |  | 
|  | 738 | EventLog *event_log_skeleton_new (void); | 
|  | 739 |  | 
|  | 740 |  | 
|  | 741 | /* ---- */ | 
|  | 742 |  | 
|  | 743 | #define TYPE_OBJECT (object_get_type ()) | 
|  | 744 | #define OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT, Object)) | 
|  | 745 | #define IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT)) | 
|  | 746 | #define OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_OBJECT, Object)) | 
|  | 747 |  | 
|  | 748 | struct _Object; | 
|  | 749 | typedef struct _Object Object; | 
|  | 750 | typedef struct _ObjectIface ObjectIface; | 
|  | 751 |  | 
|  | 752 | struct _ObjectIface | 
|  | 753 | { | 
|  | 754 | GTypeInterface parent_iface; | 
|  | 755 | }; | 
|  | 756 |  | 
|  | 757 | GType object_get_type (void) G_GNUC_CONST; | 
|  | 758 |  | 
|  | 759 | Control *object_get_control (Object *object); | 
|  | 760 | ControlHost *object_get_control_host (Object *object); | 
|  | 761 | ControlPower *object_get_control_power (Object *object); | 
|  | 762 | EventLog *object_get_event_log (Object *object); | 
|  | 763 | Control *object_peek_control (Object *object); | 
|  | 764 | ControlHost *object_peek_control_host (Object *object); | 
|  | 765 | ControlPower *object_peek_control_power (Object *object); | 
|  | 766 | EventLog *object_peek_event_log (Object *object); | 
|  | 767 |  | 
|  | 768 | #define TYPE_OBJECT_PROXY (object_proxy_get_type ()) | 
|  | 769 | #define OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_PROXY, ObjectProxy)) | 
|  | 770 | #define OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_PROXY, ObjectProxyClass)) | 
|  | 771 | #define OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_PROXY, ObjectProxyClass)) | 
|  | 772 | #define IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_PROXY)) | 
|  | 773 | #define IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_PROXY)) | 
|  | 774 |  | 
|  | 775 | typedef struct _ObjectProxy ObjectProxy; | 
|  | 776 | typedef struct _ObjectProxyClass ObjectProxyClass; | 
|  | 777 | typedef struct _ObjectProxyPrivate ObjectProxyPrivate; | 
|  | 778 |  | 
|  | 779 | struct _ObjectProxy | 
|  | 780 | { | 
|  | 781 | /*< private >*/ | 
|  | 782 | GDBusObjectProxy parent_instance; | 
|  | 783 | ObjectProxyPrivate *priv; | 
|  | 784 | }; | 
|  | 785 |  | 
|  | 786 | struct _ObjectProxyClass | 
|  | 787 | { | 
|  | 788 | GDBusObjectProxyClass parent_class; | 
|  | 789 | }; | 
|  | 790 |  | 
|  | 791 | GType object_proxy_get_type (void) G_GNUC_CONST; | 
|  | 792 | ObjectProxy *object_proxy_new (GDBusConnection *connection, const gchar *object_path); | 
|  | 793 |  | 
|  | 794 | #define TYPE_OBJECT_SKELETON (object_skeleton_get_type ()) | 
|  | 795 | #define OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_SKELETON, ObjectSkeleton)) | 
|  | 796 | #define OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_SKELETON, ObjectSkeletonClass)) | 
|  | 797 | #define OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_SKELETON, ObjectSkeletonClass)) | 
|  | 798 | #define IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_SKELETON)) | 
|  | 799 | #define IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_SKELETON)) | 
|  | 800 |  | 
|  | 801 | typedef struct _ObjectSkeleton ObjectSkeleton; | 
|  | 802 | typedef struct _ObjectSkeletonClass ObjectSkeletonClass; | 
|  | 803 | typedef struct _ObjectSkeletonPrivate ObjectSkeletonPrivate; | 
|  | 804 |  | 
|  | 805 | struct _ObjectSkeleton | 
|  | 806 | { | 
|  | 807 | /*< private >*/ | 
|  | 808 | GDBusObjectSkeleton parent_instance; | 
|  | 809 | ObjectSkeletonPrivate *priv; | 
|  | 810 | }; | 
|  | 811 |  | 
|  | 812 | struct _ObjectSkeletonClass | 
|  | 813 | { | 
|  | 814 | GDBusObjectSkeletonClass parent_class; | 
|  | 815 | }; | 
|  | 816 |  | 
|  | 817 | GType object_skeleton_get_type (void) G_GNUC_CONST; | 
|  | 818 | ObjectSkeleton *object_skeleton_new (const gchar *object_path); | 
|  | 819 | void object_skeleton_set_control (ObjectSkeleton *object, Control *interface_); | 
|  | 820 | void object_skeleton_set_control_host (ObjectSkeleton *object, ControlHost *interface_); | 
|  | 821 | void object_skeleton_set_control_power (ObjectSkeleton *object, ControlPower *interface_); | 
|  | 822 | void object_skeleton_set_event_log (ObjectSkeleton *object, EventLog *interface_); | 
|  | 823 |  | 
|  | 824 | /* ---- */ | 
|  | 825 |  | 
|  | 826 | #define TYPE_OBJECT_MANAGER_CLIENT (object_manager_client_get_type ()) | 
|  | 827 | #define OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClient)) | 
|  | 828 | #define OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass)) | 
|  | 829 | #define OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass)) | 
|  | 830 | #define IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_MANAGER_CLIENT)) | 
|  | 831 | #define IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_MANAGER_CLIENT)) | 
|  | 832 |  | 
|  | 833 | typedef struct _ObjectManagerClient ObjectManagerClient; | 
|  | 834 | typedef struct _ObjectManagerClientClass ObjectManagerClientClass; | 
|  | 835 | typedef struct _ObjectManagerClientPrivate ObjectManagerClientPrivate; | 
|  | 836 |  | 
|  | 837 | struct _ObjectManagerClient | 
|  | 838 | { | 
|  | 839 | /*< private >*/ | 
|  | 840 | GDBusObjectManagerClient parent_instance; | 
|  | 841 | ObjectManagerClientPrivate *priv; | 
|  | 842 | }; | 
|  | 843 |  | 
|  | 844 | struct _ObjectManagerClientClass | 
|  | 845 | { | 
|  | 846 | GDBusObjectManagerClientClass parent_class; | 
|  | 847 | }; | 
|  | 848 |  | 
|  | 849 | GType object_manager_client_get_type (void) G_GNUC_CONST; | 
|  | 850 |  | 
|  | 851 | GType object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data); | 
|  | 852 |  | 
|  | 853 | void object_manager_client_new ( | 
|  | 854 | GDBusConnection        *connection, | 
|  | 855 | GDBusObjectManagerClientFlags  flags, | 
|  | 856 | const gchar            *name, | 
|  | 857 | const gchar            *object_path, | 
|  | 858 | GCancellable           *cancellable, | 
|  | 859 | GAsyncReadyCallback     callback, | 
|  | 860 | gpointer                user_data); | 
|  | 861 | GDBusObjectManager *object_manager_client_new_finish ( | 
|  | 862 | GAsyncResult        *res, | 
|  | 863 | GError             **error); | 
|  | 864 | GDBusObjectManager *object_manager_client_new_sync ( | 
|  | 865 | GDBusConnection        *connection, | 
|  | 866 | GDBusObjectManagerClientFlags  flags, | 
|  | 867 | const gchar            *name, | 
|  | 868 | const gchar            *object_path, | 
|  | 869 | GCancellable           *cancellable, | 
|  | 870 | GError                **error); | 
|  | 871 |  | 
|  | 872 | void object_manager_client_new_for_bus ( | 
|  | 873 | GBusType                bus_type, | 
|  | 874 | GDBusObjectManagerClientFlags  flags, | 
|  | 875 | const gchar            *name, | 
|  | 876 | const gchar            *object_path, | 
|  | 877 | GCancellable           *cancellable, | 
|  | 878 | GAsyncReadyCallback     callback, | 
|  | 879 | gpointer                user_data); | 
|  | 880 | GDBusObjectManager *object_manager_client_new_for_bus_finish ( | 
|  | 881 | GAsyncResult        *res, | 
|  | 882 | GError             **error); | 
|  | 883 | GDBusObjectManager *object_manager_client_new_for_bus_sync ( | 
|  | 884 | GBusType                bus_type, | 
|  | 885 | GDBusObjectManagerClientFlags  flags, | 
|  | 886 | const gchar            *name, | 
|  | 887 | const gchar            *object_path, | 
|  | 888 | GCancellable           *cancellable, | 
|  | 889 | GError                **error); | 
|  | 890 |  | 
|  | 891 |  | 
|  | 892 | G_END_DECLS | 
|  | 893 |  | 
|  | 894 | #endif /* __INTERFACES_CONTROL_H__ */ |