2 * Generated by gdbus-codegen 2.40.0. DO NOT EDIT.
4 * The license of this code is the same as for the source it was derived from.
7 #ifndef __SRC_INTERFACES_HOSTNAMED_HOSTNAMED_GEN_H__
8 #define __SRC_INTERFACES_HOSTNAMED_HOSTNAMED_GEN_H__
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for org.freedesktop.DBus.Peer */
18 #define TYPE_DBUS_PEER (dbus_peer_get_type ())
19 #define DBUS_PEER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DBUS_PEER, DBusPeer))
20 #define IS_DBUS_PEER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DBUS_PEER))
21 #define DBUS_PEER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_DBUS_PEER, DBusPeerIface))
24 typedef struct _DBusPeer DBusPeer
;
25 typedef struct _DBusPeerIface DBusPeerIface
;
29 GTypeInterface parent_iface
;
31 gboolean (*handle_get_machine_id
) (
33 GDBusMethodInvocation
*invocation
);
35 gboolean (*handle_ping
) (
37 GDBusMethodInvocation
*invocation
);
41 GType
dbus_peer_get_type (void) G_GNUC_CONST
;
43 GDBusInterfaceInfo
*dbus_peer_interface_info (void);
44 guint
dbus_peer_override_properties (GObjectClass
*klass
, guint property_id_begin
);
47 /* D-Bus method call completion functions: */
48 void dbus_peer_complete_ping (
50 GDBusMethodInvocation
*invocation
);
52 void dbus_peer_complete_get_machine_id (
54 GDBusMethodInvocation
*invocation
,
55 const gchar
*machine_uuid
);
59 /* D-Bus method calls: */
60 void dbus_peer_call_ping (
62 GCancellable
*cancellable
,
63 GAsyncReadyCallback callback
,
66 gboolean
dbus_peer_call_ping_finish (
71 gboolean
dbus_peer_call_ping_sync (
73 GCancellable
*cancellable
,
76 void dbus_peer_call_get_machine_id (
78 GCancellable
*cancellable
,
79 GAsyncReadyCallback callback
,
82 gboolean
dbus_peer_call_get_machine_id_finish (
84 gchar
**out_machine_uuid
,
88 gboolean
dbus_peer_call_get_machine_id_sync (
90 gchar
**out_machine_uuid
,
91 GCancellable
*cancellable
,
98 #define TYPE_DBUS_PEER_PROXY (dbus_peer_proxy_get_type ())
99 #define DBUS_PEER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DBUS_PEER_PROXY, DBusPeerProxy))
100 #define DBUS_PEER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_DBUS_PEER_PROXY, DBusPeerProxyClass))
101 #define DBUS_PEER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_DBUS_PEER_PROXY, DBusPeerProxyClass))
102 #define IS_DBUS_PEER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DBUS_PEER_PROXY))
103 #define IS_DBUS_PEER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_DBUS_PEER_PROXY))
105 typedef struct _DBusPeerProxy DBusPeerProxy
;
106 typedef struct _DBusPeerProxyClass DBusPeerProxyClass
;
107 typedef struct _DBusPeerProxyPrivate DBusPeerProxyPrivate
;
109 struct _DBusPeerProxy
112 GDBusProxy parent_instance
;
113 DBusPeerProxyPrivate
*priv
;
116 struct _DBusPeerProxyClass
118 GDBusProxyClass parent_class
;
121 GType
dbus_peer_proxy_get_type (void) G_GNUC_CONST
;
123 void dbus_peer_proxy_new (
124 GDBusConnection
*connection
,
125 GDBusProxyFlags flags
,
127 const gchar
*object_path
,
128 GCancellable
*cancellable
,
129 GAsyncReadyCallback callback
,
131 DBusPeer
*dbus_peer_proxy_new_finish (
134 DBusPeer
*dbus_peer_proxy_new_sync (
135 GDBusConnection
*connection
,
136 GDBusProxyFlags flags
,
138 const gchar
*object_path
,
139 GCancellable
*cancellable
,
142 void dbus_peer_proxy_new_for_bus (
144 GDBusProxyFlags flags
,
146 const gchar
*object_path
,
147 GCancellable
*cancellable
,
148 GAsyncReadyCallback callback
,
150 DBusPeer
*dbus_peer_proxy_new_for_bus_finish (
153 DBusPeer
*dbus_peer_proxy_new_for_bus_sync (
155 GDBusProxyFlags flags
,
157 const gchar
*object_path
,
158 GCancellable
*cancellable
,
164 #define TYPE_DBUS_PEER_SKELETON (dbus_peer_skeleton_get_type ())
165 #define DBUS_PEER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DBUS_PEER_SKELETON, DBusPeerSkeleton))
166 #define DBUS_PEER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_DBUS_PEER_SKELETON, DBusPeerSkeletonClass))
167 #define DBUS_PEER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_DBUS_PEER_SKELETON, DBusPeerSkeletonClass))
168 #define IS_DBUS_PEER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DBUS_PEER_SKELETON))
169 #define IS_DBUS_PEER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_DBUS_PEER_SKELETON))
171 typedef struct _DBusPeerSkeleton DBusPeerSkeleton
;
172 typedef struct _DBusPeerSkeletonClass DBusPeerSkeletonClass
;
173 typedef struct _DBusPeerSkeletonPrivate DBusPeerSkeletonPrivate
;
175 struct _DBusPeerSkeleton
178 GDBusInterfaceSkeleton parent_instance
;
179 DBusPeerSkeletonPrivate
*priv
;
182 struct _DBusPeerSkeletonClass
184 GDBusInterfaceSkeletonClass parent_class
;
187 GType
dbus_peer_skeleton_get_type (void) G_GNUC_CONST
;
189 DBusPeer
*dbus_peer_skeleton_new (void);
192 /* ------------------------------------------------------------------------ */
193 /* Declarations for org.freedesktop.DBus.Introspectable */
195 #define TYPE_DBUS_INTROSPECTABLE (dbus_introspectable_get_type ())
196 #define DBUS_INTROSPECTABLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DBUS_INTROSPECTABLE, DBusIntrospectable))
197 #define IS_DBUS_INTROSPECTABLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DBUS_INTROSPECTABLE))
198 #define DBUS_INTROSPECTABLE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_DBUS_INTROSPECTABLE, DBusIntrospectableIface))
200 struct _DBusIntrospectable
;
201 typedef struct _DBusIntrospectable DBusIntrospectable
;
202 typedef struct _DBusIntrospectableIface DBusIntrospectableIface
;
204 struct _DBusIntrospectableIface
206 GTypeInterface parent_iface
;
208 gboolean (*handle_introspect
) (
209 DBusIntrospectable
*object
,
210 GDBusMethodInvocation
*invocation
);
214 GType
dbus_introspectable_get_type (void) G_GNUC_CONST
;
216 GDBusInterfaceInfo
*dbus_introspectable_interface_info (void);
217 guint
dbus_introspectable_override_properties (GObjectClass
*klass
, guint property_id_begin
);
220 /* D-Bus method call completion functions: */
221 void dbus_introspectable_complete_introspect (
222 DBusIntrospectable
*object
,
223 GDBusMethodInvocation
*invocation
,
228 /* D-Bus method calls: */
229 void dbus_introspectable_call_introspect (
230 DBusIntrospectable
*proxy
,
231 GCancellable
*cancellable
,
232 GAsyncReadyCallback callback
,
235 gboolean
dbus_introspectable_call_introspect_finish (
236 DBusIntrospectable
*proxy
,
241 gboolean
dbus_introspectable_call_introspect_sync (
242 DBusIntrospectable
*proxy
,
244 GCancellable
*cancellable
,
251 #define TYPE_DBUS_INTROSPECTABLE_PROXY (dbus_introspectable_proxy_get_type ())
252 #define DBUS_INTROSPECTABLE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DBUS_INTROSPECTABLE_PROXY, DBusIntrospectableProxy))
253 #define DBUS_INTROSPECTABLE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_DBUS_INTROSPECTABLE_PROXY, DBusIntrospectableProxyClass))
254 #define DBUS_INTROSPECTABLE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_DBUS_INTROSPECTABLE_PROXY, DBusIntrospectableProxyClass))
255 #define IS_DBUS_INTROSPECTABLE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DBUS_INTROSPECTABLE_PROXY))
256 #define IS_DBUS_INTROSPECTABLE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_DBUS_INTROSPECTABLE_PROXY))
258 typedef struct _DBusIntrospectableProxy DBusIntrospectableProxy
;
259 typedef struct _DBusIntrospectableProxyClass DBusIntrospectableProxyClass
;
260 typedef struct _DBusIntrospectableProxyPrivate DBusIntrospectableProxyPrivate
;
262 struct _DBusIntrospectableProxy
265 GDBusProxy parent_instance
;
266 DBusIntrospectableProxyPrivate
*priv
;
269 struct _DBusIntrospectableProxyClass
271 GDBusProxyClass parent_class
;
274 GType
dbus_introspectable_proxy_get_type (void) G_GNUC_CONST
;
276 void dbus_introspectable_proxy_new (
277 GDBusConnection
*connection
,
278 GDBusProxyFlags flags
,
280 const gchar
*object_path
,
281 GCancellable
*cancellable
,
282 GAsyncReadyCallback callback
,
284 DBusIntrospectable
*dbus_introspectable_proxy_new_finish (
287 DBusIntrospectable
*dbus_introspectable_proxy_new_sync (
288 GDBusConnection
*connection
,
289 GDBusProxyFlags flags
,
291 const gchar
*object_path
,
292 GCancellable
*cancellable
,
295 void dbus_introspectable_proxy_new_for_bus (
297 GDBusProxyFlags flags
,
299 const gchar
*object_path
,
300 GCancellable
*cancellable
,
301 GAsyncReadyCallback callback
,
303 DBusIntrospectable
*dbus_introspectable_proxy_new_for_bus_finish (
306 DBusIntrospectable
*dbus_introspectable_proxy_new_for_bus_sync (
308 GDBusProxyFlags flags
,
310 const gchar
*object_path
,
311 GCancellable
*cancellable
,
317 #define TYPE_DBUS_INTROSPECTABLE_SKELETON (dbus_introspectable_skeleton_get_type ())
318 #define DBUS_INTROSPECTABLE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DBUS_INTROSPECTABLE_SKELETON, DBusIntrospectableSkeleton))
319 #define DBUS_INTROSPECTABLE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_DBUS_INTROSPECTABLE_SKELETON, DBusIntrospectableSkeletonClass))
320 #define DBUS_INTROSPECTABLE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_DBUS_INTROSPECTABLE_SKELETON, DBusIntrospectableSkeletonClass))
321 #define IS_DBUS_INTROSPECTABLE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DBUS_INTROSPECTABLE_SKELETON))
322 #define IS_DBUS_INTROSPECTABLE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_DBUS_INTROSPECTABLE_SKELETON))
324 typedef struct _DBusIntrospectableSkeleton DBusIntrospectableSkeleton
;
325 typedef struct _DBusIntrospectableSkeletonClass DBusIntrospectableSkeletonClass
;
326 typedef struct _DBusIntrospectableSkeletonPrivate DBusIntrospectableSkeletonPrivate
;
328 struct _DBusIntrospectableSkeleton
331 GDBusInterfaceSkeleton parent_instance
;
332 DBusIntrospectableSkeletonPrivate
*priv
;
335 struct _DBusIntrospectableSkeletonClass
337 GDBusInterfaceSkeletonClass parent_class
;
340 GType
dbus_introspectable_skeleton_get_type (void) G_GNUC_CONST
;
342 DBusIntrospectable
*dbus_introspectable_skeleton_new (void);
345 /* ------------------------------------------------------------------------ */
346 /* Declarations for org.freedesktop.DBus.Properties */
348 #define TYPE_DBUS_PROPERTIES (dbus_properties_get_type ())
349 #define DBUS_PROPERTIES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DBUS_PROPERTIES, DBusProperties))
350 #define IS_DBUS_PROPERTIES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DBUS_PROPERTIES))
351 #define DBUS_PROPERTIES_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_DBUS_PROPERTIES, DBusPropertiesIface))
353 struct _DBusProperties
;
354 typedef struct _DBusProperties DBusProperties
;
355 typedef struct _DBusPropertiesIface DBusPropertiesIface
;
357 struct _DBusPropertiesIface
359 GTypeInterface parent_iface
;
362 gboolean (*handle_get
) (
363 DBusProperties
*object
,
364 GDBusMethodInvocation
*invocation
,
365 const gchar
*arg_interface
,
366 const gchar
*arg_property
);
368 gboolean (*handle_get_all
) (
369 DBusProperties
*object
,
370 GDBusMethodInvocation
*invocation
,
371 const gchar
*arg_interface
);
373 gboolean (*handle_set
) (
374 DBusProperties
*object
,
375 GDBusMethodInvocation
*invocation
,
376 const gchar
*arg_interface
,
377 const gchar
*arg_property
,
378 GVariant
*arg_value
);
380 void (*properties_changed
) (
381 DBusProperties
*object
,
382 const gchar
*arg_interface
,
383 GVariant
*arg_changed_properties
,
384 const gchar
*const *arg_invalidated_properties
);
388 GType
dbus_properties_get_type (void) G_GNUC_CONST
;
390 GDBusInterfaceInfo
*dbus_properties_interface_info (void);
391 guint
dbus_properties_override_properties (GObjectClass
*klass
, guint property_id_begin
);
394 /* D-Bus method call completion functions: */
395 void dbus_properties_complete_get (
396 DBusProperties
*object
,
397 GDBusMethodInvocation
*invocation
,
400 void dbus_properties_complete_get_all (
401 DBusProperties
*object
,
402 GDBusMethodInvocation
*invocation
,
403 GVariant
*properties
);
405 void dbus_properties_complete_set (
406 DBusProperties
*object
,
407 GDBusMethodInvocation
*invocation
);
411 /* D-Bus signal emissions functions: */
412 void dbus_properties_emit_properties_changed (
413 DBusProperties
*object
,
414 const gchar
*arg_interface
,
415 GVariant
*arg_changed_properties
,
416 const gchar
*const *arg_invalidated_properties
);
420 /* D-Bus method calls: */
421 void dbus_properties_call_get (
422 DBusProperties
*proxy
,
423 const gchar
*arg_interface
,
424 const gchar
*arg_property
,
425 GCancellable
*cancellable
,
426 GAsyncReadyCallback callback
,
429 gboolean
dbus_properties_call_get_finish (
430 DBusProperties
*proxy
,
431 GVariant
**out_value
,
435 gboolean
dbus_properties_call_get_sync (
436 DBusProperties
*proxy
,
437 const gchar
*arg_interface
,
438 const gchar
*arg_property
,
439 GVariant
**out_value
,
440 GCancellable
*cancellable
,
443 void dbus_properties_call_get_all (
444 DBusProperties
*proxy
,
445 const gchar
*arg_interface
,
446 GCancellable
*cancellable
,
447 GAsyncReadyCallback callback
,
450 gboolean
dbus_properties_call_get_all_finish (
451 DBusProperties
*proxy
,
452 GVariant
**out_properties
,
456 gboolean
dbus_properties_call_get_all_sync (
457 DBusProperties
*proxy
,
458 const gchar
*arg_interface
,
459 GVariant
**out_properties
,
460 GCancellable
*cancellable
,
463 void dbus_properties_call_set (
464 DBusProperties
*proxy
,
465 const gchar
*arg_interface
,
466 const gchar
*arg_property
,
468 GCancellable
*cancellable
,
469 GAsyncReadyCallback callback
,
472 gboolean
dbus_properties_call_set_finish (
473 DBusProperties
*proxy
,
477 gboolean
dbus_properties_call_set_sync (
478 DBusProperties
*proxy
,
479 const gchar
*arg_interface
,
480 const gchar
*arg_property
,
482 GCancellable
*cancellable
,
489 #define TYPE_DBUS_PROPERTIES_PROXY (dbus_properties_proxy_get_type ())
490 #define DBUS_PROPERTIES_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DBUS_PROPERTIES_PROXY, DBusPropertiesProxy))
491 #define DBUS_PROPERTIES_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_DBUS_PROPERTIES_PROXY, DBusPropertiesProxyClass))
492 #define DBUS_PROPERTIES_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_DBUS_PROPERTIES_PROXY, DBusPropertiesProxyClass))
493 #define IS_DBUS_PROPERTIES_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DBUS_PROPERTIES_PROXY))
494 #define IS_DBUS_PROPERTIES_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_DBUS_PROPERTIES_PROXY))
496 typedef struct _DBusPropertiesProxy DBusPropertiesProxy
;
497 typedef struct _DBusPropertiesProxyClass DBusPropertiesProxyClass
;
498 typedef struct _DBusPropertiesProxyPrivate DBusPropertiesProxyPrivate
;
500 struct _DBusPropertiesProxy
503 GDBusProxy parent_instance
;
504 DBusPropertiesProxyPrivate
*priv
;
507 struct _DBusPropertiesProxyClass
509 GDBusProxyClass parent_class
;
512 GType
dbus_properties_proxy_get_type (void) G_GNUC_CONST
;
514 void dbus_properties_proxy_new (
515 GDBusConnection
*connection
,
516 GDBusProxyFlags flags
,
518 const gchar
*object_path
,
519 GCancellable
*cancellable
,
520 GAsyncReadyCallback callback
,
522 DBusProperties
*dbus_properties_proxy_new_finish (
525 DBusProperties
*dbus_properties_proxy_new_sync (
526 GDBusConnection
*connection
,
527 GDBusProxyFlags flags
,
529 const gchar
*object_path
,
530 GCancellable
*cancellable
,
533 void dbus_properties_proxy_new_for_bus (
535 GDBusProxyFlags flags
,
537 const gchar
*object_path
,
538 GCancellable
*cancellable
,
539 GAsyncReadyCallback callback
,
541 DBusProperties
*dbus_properties_proxy_new_for_bus_finish (
544 DBusProperties
*dbus_properties_proxy_new_for_bus_sync (
546 GDBusProxyFlags flags
,
548 const gchar
*object_path
,
549 GCancellable
*cancellable
,
555 #define TYPE_DBUS_PROPERTIES_SKELETON (dbus_properties_skeleton_get_type ())
556 #define DBUS_PROPERTIES_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DBUS_PROPERTIES_SKELETON, DBusPropertiesSkeleton))
557 #define DBUS_PROPERTIES_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_DBUS_PROPERTIES_SKELETON, DBusPropertiesSkeletonClass))
558 #define DBUS_PROPERTIES_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_DBUS_PROPERTIES_SKELETON, DBusPropertiesSkeletonClass))
559 #define IS_DBUS_PROPERTIES_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DBUS_PROPERTIES_SKELETON))
560 #define IS_DBUS_PROPERTIES_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_DBUS_PROPERTIES_SKELETON))
562 typedef struct _DBusPropertiesSkeleton DBusPropertiesSkeleton
;
563 typedef struct _DBusPropertiesSkeletonClass DBusPropertiesSkeletonClass
;
564 typedef struct _DBusPropertiesSkeletonPrivate DBusPropertiesSkeletonPrivate
;
566 struct _DBusPropertiesSkeleton
569 GDBusInterfaceSkeleton parent_instance
;
570 DBusPropertiesSkeletonPrivate
*priv
;
573 struct _DBusPropertiesSkeletonClass
575 GDBusInterfaceSkeletonClass parent_class
;
578 GType
dbus_properties_skeleton_get_type (void) G_GNUC_CONST
;
580 DBusProperties
*dbus_properties_skeleton_new (void);
583 /* ------------------------------------------------------------------------ */
584 /* Declarations for org.freedesktop.hostname1 */
586 #define TYPE_HOSTNAME1 (hostname1_get_type ())
587 #define HOSTNAME1(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOSTNAME1, Hostname1))
588 #define IS_HOSTNAME1(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOSTNAME1))
589 #define HOSTNAME1_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_HOSTNAME1, Hostname1Iface))
592 typedef struct _Hostname1 Hostname1
;
593 typedef struct _Hostname1Iface Hostname1Iface
;
595 struct _Hostname1Iface
597 GTypeInterface parent_iface
;
600 gboolean (*handle_set_chassis
) (
602 GDBusMethodInvocation
*invocation
,
603 const gchar
*arg_unnamed_arg0
,
604 gboolean arg_unnamed_arg1
);
606 gboolean (*handle_set_hostname
) (
608 GDBusMethodInvocation
*invocation
,
609 const gchar
*arg_unnamed_arg0
,
610 gboolean arg_unnamed_arg1
);
612 gboolean (*handle_set_icon_name
) (
614 GDBusMethodInvocation
*invocation
,
615 const gchar
*arg_unnamed_arg0
,
616 gboolean arg_unnamed_arg1
);
618 gboolean (*handle_set_pretty_hostname
) (
620 GDBusMethodInvocation
*invocation
,
621 const gchar
*arg_unnamed_arg0
,
622 gboolean arg_unnamed_arg1
);
624 gboolean (*handle_set_static_hostname
) (
626 GDBusMethodInvocation
*invocation
,
627 const gchar
*arg_unnamed_arg0
,
628 gboolean arg_unnamed_arg1
);
630 const gchar
* (*get_chassis
) (Hostname1
*object
);
632 const gchar
* (*get_hostname
) (Hostname1
*object
);
634 const gchar
* (*get_icon_name
) (Hostname1
*object
);
636 const gchar
* (*get_kernel_name
) (Hostname1
*object
);
638 const gchar
* (*get_kernel_release
) (Hostname1
*object
);
640 const gchar
* (*get_kernel_version
) (Hostname1
*object
);
642 const gchar
* (*get_operating_system_cpename
) (Hostname1
*object
);
644 const gchar
* (*get_operating_system_pretty_name
) (Hostname1
*object
);
646 const gchar
* (*get_pretty_hostname
) (Hostname1
*object
);
648 const gchar
* (*get_static_hostname
) (Hostname1
*object
);
652 GType
hostname1_get_type (void) G_GNUC_CONST
;
654 GDBusInterfaceInfo
*hostname1_interface_info (void);
655 guint
hostname1_override_properties (GObjectClass
*klass
, guint property_id_begin
);
658 /* D-Bus method call completion functions: */
659 void hostname1_complete_set_hostname (
661 GDBusMethodInvocation
*invocation
);
663 void hostname1_complete_set_static_hostname (
665 GDBusMethodInvocation
*invocation
);
667 void hostname1_complete_set_pretty_hostname (
669 GDBusMethodInvocation
*invocation
);
671 void hostname1_complete_set_icon_name (
673 GDBusMethodInvocation
*invocation
);
675 void hostname1_complete_set_chassis (
677 GDBusMethodInvocation
*invocation
);
681 /* D-Bus method calls: */
682 void hostname1_call_set_hostname (
684 const gchar
*arg_unnamed_arg0
,
685 gboolean arg_unnamed_arg1
,
686 GCancellable
*cancellable
,
687 GAsyncReadyCallback callback
,
690 gboolean
hostname1_call_set_hostname_finish (
695 gboolean
hostname1_call_set_hostname_sync (
697 const gchar
*arg_unnamed_arg0
,
698 gboolean arg_unnamed_arg1
,
699 GCancellable
*cancellable
,
702 void hostname1_call_set_static_hostname (
704 const gchar
*arg_unnamed_arg0
,
705 gboolean arg_unnamed_arg1
,
706 GCancellable
*cancellable
,
707 GAsyncReadyCallback callback
,
710 gboolean
hostname1_call_set_static_hostname_finish (
715 gboolean
hostname1_call_set_static_hostname_sync (
717 const gchar
*arg_unnamed_arg0
,
718 gboolean arg_unnamed_arg1
,
719 GCancellable
*cancellable
,
722 void hostname1_call_set_pretty_hostname (
724 const gchar
*arg_unnamed_arg0
,
725 gboolean arg_unnamed_arg1
,
726 GCancellable
*cancellable
,
727 GAsyncReadyCallback callback
,
730 gboolean
hostname1_call_set_pretty_hostname_finish (
735 gboolean
hostname1_call_set_pretty_hostname_sync (
737 const gchar
*arg_unnamed_arg0
,
738 gboolean arg_unnamed_arg1
,
739 GCancellable
*cancellable
,
742 void hostname1_call_set_icon_name (
744 const gchar
*arg_unnamed_arg0
,
745 gboolean arg_unnamed_arg1
,
746 GCancellable
*cancellable
,
747 GAsyncReadyCallback callback
,
750 gboolean
hostname1_call_set_icon_name_finish (
755 gboolean
hostname1_call_set_icon_name_sync (
757 const gchar
*arg_unnamed_arg0
,
758 gboolean arg_unnamed_arg1
,
759 GCancellable
*cancellable
,
762 void hostname1_call_set_chassis (
764 const gchar
*arg_unnamed_arg0
,
765 gboolean arg_unnamed_arg1
,
766 GCancellable
*cancellable
,
767 GAsyncReadyCallback callback
,
770 gboolean
hostname1_call_set_chassis_finish (
775 gboolean
hostname1_call_set_chassis_sync (
777 const gchar
*arg_unnamed_arg0
,
778 gboolean arg_unnamed_arg1
,
779 GCancellable
*cancellable
,
784 /* D-Bus property accessors: */
785 const gchar
*hostname1_get_hostname (Hostname1
*object
);
786 gchar
*hostname1_dup_hostname (Hostname1
*object
);
787 void hostname1_set_hostname (Hostname1
*object
, const gchar
*value
);
789 const gchar
*hostname1_get_static_hostname (Hostname1
*object
);
790 gchar
*hostname1_dup_static_hostname (Hostname1
*object
);
791 void hostname1_set_static_hostname (Hostname1
*object
, const gchar
*value
);
793 const gchar
*hostname1_get_pretty_hostname (Hostname1
*object
);
794 gchar
*hostname1_dup_pretty_hostname (Hostname1
*object
);
795 void hostname1_set_pretty_hostname (Hostname1
*object
, const gchar
*value
);
797 const gchar
*hostname1_get_icon_name (Hostname1
*object
);
798 gchar
*hostname1_dup_icon_name (Hostname1
*object
);
799 void hostname1_set_icon_name (Hostname1
*object
, const gchar
*value
);
801 const gchar
*hostname1_get_chassis (Hostname1
*object
);
802 gchar
*hostname1_dup_chassis (Hostname1
*object
);
803 void hostname1_set_chassis (Hostname1
*object
, const gchar
*value
);
805 const gchar
*hostname1_get_kernel_name (Hostname1
*object
);
806 gchar
*hostname1_dup_kernel_name (Hostname1
*object
);
807 void hostname1_set_kernel_name (Hostname1
*object
, const gchar
*value
);
809 const gchar
*hostname1_get_kernel_release (Hostname1
*object
);
810 gchar
*hostname1_dup_kernel_release (Hostname1
*object
);
811 void hostname1_set_kernel_release (Hostname1
*object
, const gchar
*value
);
813 const gchar
*hostname1_get_kernel_version (Hostname1
*object
);
814 gchar
*hostname1_dup_kernel_version (Hostname1
*object
);
815 void hostname1_set_kernel_version (Hostname1
*object
, const gchar
*value
);
817 const gchar
*hostname1_get_operating_system_pretty_name (Hostname1
*object
);
818 gchar
*hostname1_dup_operating_system_pretty_name (Hostname1
*object
);
819 void hostname1_set_operating_system_pretty_name (Hostname1
*object
, const gchar
*value
);
821 const gchar
*hostname1_get_operating_system_cpename (Hostname1
*object
);
822 gchar
*hostname1_dup_operating_system_cpename (Hostname1
*object
);
823 void hostname1_set_operating_system_cpename (Hostname1
*object
, const gchar
*value
);
828 #define TYPE_HOSTNAME1_PROXY (hostname1_proxy_get_type ())
829 #define HOSTNAME1_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOSTNAME1_PROXY, Hostname1Proxy))
830 #define HOSTNAME1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_HOSTNAME1_PROXY, Hostname1ProxyClass))
831 #define HOSTNAME1_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_HOSTNAME1_PROXY, Hostname1ProxyClass))
832 #define IS_HOSTNAME1_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOSTNAME1_PROXY))
833 #define IS_HOSTNAME1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_HOSTNAME1_PROXY))
835 typedef struct _Hostname1Proxy Hostname1Proxy
;
836 typedef struct _Hostname1ProxyClass Hostname1ProxyClass
;
837 typedef struct _Hostname1ProxyPrivate Hostname1ProxyPrivate
;
839 struct _Hostname1Proxy
842 GDBusProxy parent_instance
;
843 Hostname1ProxyPrivate
*priv
;
846 struct _Hostname1ProxyClass
848 GDBusProxyClass parent_class
;
851 GType
hostname1_proxy_get_type (void) G_GNUC_CONST
;
853 void hostname1_proxy_new (
854 GDBusConnection
*connection
,
855 GDBusProxyFlags flags
,
857 const gchar
*object_path
,
858 GCancellable
*cancellable
,
859 GAsyncReadyCallback callback
,
861 Hostname1
*hostname1_proxy_new_finish (
864 Hostname1
*hostname1_proxy_new_sync (
865 GDBusConnection
*connection
,
866 GDBusProxyFlags flags
,
868 const gchar
*object_path
,
869 GCancellable
*cancellable
,
872 void hostname1_proxy_new_for_bus (
874 GDBusProxyFlags flags
,
876 const gchar
*object_path
,
877 GCancellable
*cancellable
,
878 GAsyncReadyCallback callback
,
880 Hostname1
*hostname1_proxy_new_for_bus_finish (
883 Hostname1
*hostname1_proxy_new_for_bus_sync (
885 GDBusProxyFlags flags
,
887 const gchar
*object_path
,
888 GCancellable
*cancellable
,
894 #define TYPE_HOSTNAME1_SKELETON (hostname1_skeleton_get_type ())
895 #define HOSTNAME1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOSTNAME1_SKELETON, Hostname1Skeleton))
896 #define HOSTNAME1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_HOSTNAME1_SKELETON, Hostname1SkeletonClass))
897 #define HOSTNAME1_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_HOSTNAME1_SKELETON, Hostname1SkeletonClass))
898 #define IS_HOSTNAME1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOSTNAME1_SKELETON))
899 #define IS_HOSTNAME1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_HOSTNAME1_SKELETON))
901 typedef struct _Hostname1Skeleton Hostname1Skeleton
;
902 typedef struct _Hostname1SkeletonClass Hostname1SkeletonClass
;
903 typedef struct _Hostname1SkeletonPrivate Hostname1SkeletonPrivate
;
905 struct _Hostname1Skeleton
908 GDBusInterfaceSkeleton parent_instance
;
909 Hostname1SkeletonPrivate
*priv
;
912 struct _Hostname1SkeletonClass
914 GDBusInterfaceSkeletonClass parent_class
;
917 GType
hostname1_skeleton_get_type (void) G_GNUC_CONST
;
919 Hostname1
*hostname1_skeleton_new (void);
924 #endif /* __SRC_INTERFACES_HOSTNAMED_HOSTNAMED_GEN_H__ */