5047f6bf |
1 | /* |
2 | * Generated by gdbus-codegen 2.40.0. 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 __SRC_INTERFACES_HOSTNAMED_HOSTNAMED_GEN_H__ |
8 | #define __SRC_INTERFACES_HOSTNAMED_HOSTNAMED_GEN_H__ |
9 | |
10 | #include <gio/gio.h> |
11 | |
12 | G_BEGIN_DECLS |
13 | |
14 | |
3d53b501 |
15 | /* ------------------------------------------------------------------------ */ |
16 | /* Declarations for org.freedesktop.DBus.Peer */ |
17 | |
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)) |
22 | |
23 | struct _DBusPeer; |
24 | typedef struct _DBusPeer DBusPeer; |
25 | typedef struct _DBusPeerIface DBusPeerIface; |
26 | |
27 | struct _DBusPeerIface |
28 | { |
29 | GTypeInterface parent_iface; |
30 | |
31 | gboolean (*handle_get_machine_id) ( |
32 | DBusPeer *object, |
33 | GDBusMethodInvocation *invocation); |
34 | |
35 | gboolean (*handle_ping) ( |
36 | DBusPeer *object, |
37 | GDBusMethodInvocation *invocation); |
38 | |
39 | }; |
40 | |
41 | GType dbus_peer_get_type (void) G_GNUC_CONST; |
42 | |
43 | GDBusInterfaceInfo *dbus_peer_interface_info (void); |
44 | guint dbus_peer_override_properties (GObjectClass *klass, guint property_id_begin); |
45 | |
46 | |
47 | /* D-Bus method call completion functions: */ |
48 | void dbus_peer_complete_ping ( |
49 | DBusPeer *object, |
50 | GDBusMethodInvocation *invocation); |
51 | |
52 | void dbus_peer_complete_get_machine_id ( |
53 | DBusPeer *object, |
54 | GDBusMethodInvocation *invocation, |
55 | const gchar *machine_uuid); |
56 | |
57 | |
58 | |
59 | /* D-Bus method calls: */ |
60 | void dbus_peer_call_ping ( |
61 | DBusPeer *proxy, |
62 | GCancellable *cancellable, |
63 | GAsyncReadyCallback callback, |
64 | gpointer user_data); |
65 | |
66 | gboolean dbus_peer_call_ping_finish ( |
67 | DBusPeer *proxy, |
68 | GAsyncResult *res, |
69 | GError **error); |
70 | |
71 | gboolean dbus_peer_call_ping_sync ( |
72 | DBusPeer *proxy, |
73 | GCancellable *cancellable, |
74 | GError **error); |
75 | |
76 | void dbus_peer_call_get_machine_id ( |
77 | DBusPeer *proxy, |
78 | GCancellable *cancellable, |
79 | GAsyncReadyCallback callback, |
80 | gpointer user_data); |
81 | |
82 | gboolean dbus_peer_call_get_machine_id_finish ( |
83 | DBusPeer *proxy, |
84 | gchar **out_machine_uuid, |
85 | GAsyncResult *res, |
86 | GError **error); |
87 | |
88 | gboolean dbus_peer_call_get_machine_id_sync ( |
89 | DBusPeer *proxy, |
90 | gchar **out_machine_uuid, |
91 | GCancellable *cancellable, |
92 | GError **error); |
93 | |
94 | |
95 | |
96 | /* ---- */ |
97 | |
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)) |
104 | |
105 | typedef struct _DBusPeerProxy DBusPeerProxy; |
106 | typedef struct _DBusPeerProxyClass DBusPeerProxyClass; |
107 | typedef struct _DBusPeerProxyPrivate DBusPeerProxyPrivate; |
108 | |
109 | struct _DBusPeerProxy |
110 | { |
111 | /*< private >*/ |
112 | GDBusProxy parent_instance; |
113 | DBusPeerProxyPrivate *priv; |
114 | }; |
115 | |
116 | struct _DBusPeerProxyClass |
117 | { |
118 | GDBusProxyClass parent_class; |
119 | }; |
120 | |
121 | GType dbus_peer_proxy_get_type (void) G_GNUC_CONST; |
122 | |
123 | void dbus_peer_proxy_new ( |
124 | GDBusConnection *connection, |
125 | GDBusProxyFlags flags, |
126 | const gchar *name, |
127 | const gchar *object_path, |
128 | GCancellable *cancellable, |
129 | GAsyncReadyCallback callback, |
130 | gpointer user_data); |
131 | DBusPeer *dbus_peer_proxy_new_finish ( |
132 | GAsyncResult *res, |
133 | GError **error); |
134 | DBusPeer *dbus_peer_proxy_new_sync ( |
135 | GDBusConnection *connection, |
136 | GDBusProxyFlags flags, |
137 | const gchar *name, |
138 | const gchar *object_path, |
139 | GCancellable *cancellable, |
140 | GError **error); |
141 | |
142 | void dbus_peer_proxy_new_for_bus ( |
143 | GBusType bus_type, |
144 | GDBusProxyFlags flags, |
145 | const gchar *name, |
146 | const gchar *object_path, |
147 | GCancellable *cancellable, |
148 | GAsyncReadyCallback callback, |
149 | gpointer user_data); |
150 | DBusPeer *dbus_peer_proxy_new_for_bus_finish ( |
151 | GAsyncResult *res, |
152 | GError **error); |
153 | DBusPeer *dbus_peer_proxy_new_for_bus_sync ( |
154 | GBusType bus_type, |
155 | GDBusProxyFlags flags, |
156 | const gchar *name, |
157 | const gchar *object_path, |
158 | GCancellable *cancellable, |
159 | GError **error); |
160 | |
161 | |
162 | /* ---- */ |
163 | |
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)) |
170 | |
171 | typedef struct _DBusPeerSkeleton DBusPeerSkeleton; |
172 | typedef struct _DBusPeerSkeletonClass DBusPeerSkeletonClass; |
173 | typedef struct _DBusPeerSkeletonPrivate DBusPeerSkeletonPrivate; |
174 | |
175 | struct _DBusPeerSkeleton |
176 | { |
177 | /*< private >*/ |
178 | GDBusInterfaceSkeleton parent_instance; |
179 | DBusPeerSkeletonPrivate *priv; |
180 | }; |
181 | |
182 | struct _DBusPeerSkeletonClass |
183 | { |
184 | GDBusInterfaceSkeletonClass parent_class; |
185 | }; |
186 | |
187 | GType dbus_peer_skeleton_get_type (void) G_GNUC_CONST; |
188 | |
189 | DBusPeer *dbus_peer_skeleton_new (void); |
190 | |
191 | |
192 | /* ------------------------------------------------------------------------ */ |
193 | /* Declarations for org.freedesktop.DBus.Introspectable */ |
194 | |
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)) |
199 | |
200 | struct _DBusIntrospectable; |
201 | typedef struct _DBusIntrospectable DBusIntrospectable; |
202 | typedef struct _DBusIntrospectableIface DBusIntrospectableIface; |
203 | |
204 | struct _DBusIntrospectableIface |
205 | { |
206 | GTypeInterface parent_iface; |
207 | |
208 | gboolean (*handle_introspect) ( |
209 | DBusIntrospectable *object, |
210 | GDBusMethodInvocation *invocation); |
211 | |
212 | }; |
213 | |
214 | GType dbus_introspectable_get_type (void) G_GNUC_CONST; |
215 | |
216 | GDBusInterfaceInfo *dbus_introspectable_interface_info (void); |
217 | guint dbus_introspectable_override_properties (GObjectClass *klass, guint property_id_begin); |
218 | |
219 | |
220 | /* D-Bus method call completion functions: */ |
221 | void dbus_introspectable_complete_introspect ( |
222 | DBusIntrospectable *object, |
223 | GDBusMethodInvocation *invocation, |
224 | const gchar *data); |
225 | |
226 | |
227 | |
228 | /* D-Bus method calls: */ |
229 | void dbus_introspectable_call_introspect ( |
230 | DBusIntrospectable *proxy, |
231 | GCancellable *cancellable, |
232 | GAsyncReadyCallback callback, |
233 | gpointer user_data); |
234 | |
235 | gboolean dbus_introspectable_call_introspect_finish ( |
236 | DBusIntrospectable *proxy, |
237 | gchar **out_data, |
238 | GAsyncResult *res, |
239 | GError **error); |
240 | |
241 | gboolean dbus_introspectable_call_introspect_sync ( |
242 | DBusIntrospectable *proxy, |
243 | gchar **out_data, |
244 | GCancellable *cancellable, |
245 | GError **error); |
246 | |
247 | |
248 | |
249 | /* ---- */ |
250 | |
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)) |
257 | |
258 | typedef struct _DBusIntrospectableProxy DBusIntrospectableProxy; |
259 | typedef struct _DBusIntrospectableProxyClass DBusIntrospectableProxyClass; |
260 | typedef struct _DBusIntrospectableProxyPrivate DBusIntrospectableProxyPrivate; |
261 | |
262 | struct _DBusIntrospectableProxy |
263 | { |
264 | /*< private >*/ |
265 | GDBusProxy parent_instance; |
266 | DBusIntrospectableProxyPrivate *priv; |
267 | }; |
268 | |
269 | struct _DBusIntrospectableProxyClass |
270 | { |
271 | GDBusProxyClass parent_class; |
272 | }; |
273 | |
274 | GType dbus_introspectable_proxy_get_type (void) G_GNUC_CONST; |
275 | |
276 | void dbus_introspectable_proxy_new ( |
277 | GDBusConnection *connection, |
278 | GDBusProxyFlags flags, |
279 | const gchar *name, |
280 | const gchar *object_path, |
281 | GCancellable *cancellable, |
282 | GAsyncReadyCallback callback, |
283 | gpointer user_data); |
284 | DBusIntrospectable *dbus_introspectable_proxy_new_finish ( |
285 | GAsyncResult *res, |
286 | GError **error); |
287 | DBusIntrospectable *dbus_introspectable_proxy_new_sync ( |
288 | GDBusConnection *connection, |
289 | GDBusProxyFlags flags, |
290 | const gchar *name, |
291 | const gchar *object_path, |
292 | GCancellable *cancellable, |
293 | GError **error); |
294 | |
295 | void dbus_introspectable_proxy_new_for_bus ( |
296 | GBusType bus_type, |
297 | GDBusProxyFlags flags, |
298 | const gchar *name, |
299 | const gchar *object_path, |
300 | GCancellable *cancellable, |
301 | GAsyncReadyCallback callback, |
302 | gpointer user_data); |
303 | DBusIntrospectable *dbus_introspectable_proxy_new_for_bus_finish ( |
304 | GAsyncResult *res, |
305 | GError **error); |
306 | DBusIntrospectable *dbus_introspectable_proxy_new_for_bus_sync ( |
307 | GBusType bus_type, |
308 | GDBusProxyFlags flags, |
309 | const gchar *name, |
310 | const gchar *object_path, |
311 | GCancellable *cancellable, |
312 | GError **error); |
313 | |
314 | |
315 | /* ---- */ |
316 | |
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)) |
323 | |
324 | typedef struct _DBusIntrospectableSkeleton DBusIntrospectableSkeleton; |
325 | typedef struct _DBusIntrospectableSkeletonClass DBusIntrospectableSkeletonClass; |
326 | typedef struct _DBusIntrospectableSkeletonPrivate DBusIntrospectableSkeletonPrivate; |
327 | |
328 | struct _DBusIntrospectableSkeleton |
329 | { |
330 | /*< private >*/ |
331 | GDBusInterfaceSkeleton parent_instance; |
332 | DBusIntrospectableSkeletonPrivate *priv; |
333 | }; |
334 | |
335 | struct _DBusIntrospectableSkeletonClass |
336 | { |
337 | GDBusInterfaceSkeletonClass parent_class; |
338 | }; |
339 | |
340 | GType dbus_introspectable_skeleton_get_type (void) G_GNUC_CONST; |
341 | |
342 | DBusIntrospectable *dbus_introspectable_skeleton_new (void); |
343 | |
344 | |
345 | /* ------------------------------------------------------------------------ */ |
346 | /* Declarations for org.freedesktop.DBus.Properties */ |
347 | |
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)) |
352 | |
353 | struct _DBusProperties; |
354 | typedef struct _DBusProperties DBusProperties; |
355 | typedef struct _DBusPropertiesIface DBusPropertiesIface; |
356 | |
357 | struct _DBusPropertiesIface |
358 | { |
359 | GTypeInterface parent_iface; |
360 | |
361 | |
362 | gboolean (*handle_get) ( |
363 | DBusProperties *object, |
364 | GDBusMethodInvocation *invocation, |
365 | const gchar *arg_interface, |
366 | const gchar *arg_property); |
367 | |
368 | gboolean (*handle_get_all) ( |
369 | DBusProperties *object, |
370 | GDBusMethodInvocation *invocation, |
371 | const gchar *arg_interface); |
372 | |
373 | gboolean (*handle_set) ( |
374 | DBusProperties *object, |
375 | GDBusMethodInvocation *invocation, |
376 | const gchar *arg_interface, |
377 | const gchar *arg_property, |
378 | GVariant *arg_value); |
379 | |
380 | void (*properties_changed) ( |
381 | DBusProperties *object, |
382 | const gchar *arg_interface, |
383 | GVariant *arg_changed_properties, |
384 | const gchar *const *arg_invalidated_properties); |
385 | |
386 | }; |
387 | |
388 | GType dbus_properties_get_type (void) G_GNUC_CONST; |
389 | |
390 | GDBusInterfaceInfo *dbus_properties_interface_info (void); |
391 | guint dbus_properties_override_properties (GObjectClass *klass, guint property_id_begin); |
392 | |
393 | |
394 | /* D-Bus method call completion functions: */ |
395 | void dbus_properties_complete_get ( |
396 | DBusProperties *object, |
397 | GDBusMethodInvocation *invocation, |
398 | GVariant *value); |
399 | |
400 | void dbus_properties_complete_get_all ( |
401 | DBusProperties *object, |
402 | GDBusMethodInvocation *invocation, |
403 | GVariant *properties); |
404 | |
405 | void dbus_properties_complete_set ( |
406 | DBusProperties *object, |
407 | GDBusMethodInvocation *invocation); |
408 | |
409 | |
410 | |
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); |
417 | |
418 | |
419 | |
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, |
427 | gpointer user_data); |
428 | |
429 | gboolean dbus_properties_call_get_finish ( |
430 | DBusProperties *proxy, |
431 | GVariant **out_value, |
432 | GAsyncResult *res, |
433 | GError **error); |
434 | |
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, |
441 | GError **error); |
442 | |
443 | void dbus_properties_call_get_all ( |
444 | DBusProperties *proxy, |
445 | const gchar *arg_interface, |
446 | GCancellable *cancellable, |
447 | GAsyncReadyCallback callback, |
448 | gpointer user_data); |
449 | |
450 | gboolean dbus_properties_call_get_all_finish ( |
451 | DBusProperties *proxy, |
452 | GVariant **out_properties, |
453 | GAsyncResult *res, |
454 | GError **error); |
455 | |
456 | gboolean dbus_properties_call_get_all_sync ( |
457 | DBusProperties *proxy, |
458 | const gchar *arg_interface, |
459 | GVariant **out_properties, |
460 | GCancellable *cancellable, |
461 | GError **error); |
462 | |
463 | void dbus_properties_call_set ( |
464 | DBusProperties *proxy, |
465 | const gchar *arg_interface, |
466 | const gchar *arg_property, |
467 | GVariant *arg_value, |
468 | GCancellable *cancellable, |
469 | GAsyncReadyCallback callback, |
470 | gpointer user_data); |
471 | |
472 | gboolean dbus_properties_call_set_finish ( |
473 | DBusProperties *proxy, |
474 | GAsyncResult *res, |
475 | GError **error); |
476 | |
477 | gboolean dbus_properties_call_set_sync ( |
478 | DBusProperties *proxy, |
479 | const gchar *arg_interface, |
480 | const gchar *arg_property, |
481 | GVariant *arg_value, |
482 | GCancellable *cancellable, |
483 | GError **error); |
484 | |
485 | |
486 | |
487 | /* ---- */ |
488 | |
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)) |
495 | |
496 | typedef struct _DBusPropertiesProxy DBusPropertiesProxy; |
497 | typedef struct _DBusPropertiesProxyClass DBusPropertiesProxyClass; |
498 | typedef struct _DBusPropertiesProxyPrivate DBusPropertiesProxyPrivate; |
499 | |
500 | struct _DBusPropertiesProxy |
501 | { |
502 | /*< private >*/ |
503 | GDBusProxy parent_instance; |
504 | DBusPropertiesProxyPrivate *priv; |
505 | }; |
506 | |
507 | struct _DBusPropertiesProxyClass |
508 | { |
509 | GDBusProxyClass parent_class; |
510 | }; |
511 | |
512 | GType dbus_properties_proxy_get_type (void) G_GNUC_CONST; |
513 | |
514 | void dbus_properties_proxy_new ( |
515 | GDBusConnection *connection, |
516 | GDBusProxyFlags flags, |
517 | const gchar *name, |
518 | const gchar *object_path, |
519 | GCancellable *cancellable, |
520 | GAsyncReadyCallback callback, |
521 | gpointer user_data); |
522 | DBusProperties *dbus_properties_proxy_new_finish ( |
523 | GAsyncResult *res, |
524 | GError **error); |
525 | DBusProperties *dbus_properties_proxy_new_sync ( |
526 | GDBusConnection *connection, |
527 | GDBusProxyFlags flags, |
528 | const gchar *name, |
529 | const gchar *object_path, |
530 | GCancellable *cancellable, |
531 | GError **error); |
532 | |
533 | void dbus_properties_proxy_new_for_bus ( |
534 | GBusType bus_type, |
535 | GDBusProxyFlags flags, |
536 | const gchar *name, |
537 | const gchar *object_path, |
538 | GCancellable *cancellable, |
539 | GAsyncReadyCallback callback, |
540 | gpointer user_data); |
541 | DBusProperties *dbus_properties_proxy_new_for_bus_finish ( |
542 | GAsyncResult *res, |
543 | GError **error); |
544 | DBusProperties *dbus_properties_proxy_new_for_bus_sync ( |
545 | GBusType bus_type, |
546 | GDBusProxyFlags flags, |
547 | const gchar *name, |
548 | const gchar *object_path, |
549 | GCancellable *cancellable, |
550 | GError **error); |
551 | |
552 | |
553 | /* ---- */ |
554 | |
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)) |
561 | |
562 | typedef struct _DBusPropertiesSkeleton DBusPropertiesSkeleton; |
563 | typedef struct _DBusPropertiesSkeletonClass DBusPropertiesSkeletonClass; |
564 | typedef struct _DBusPropertiesSkeletonPrivate DBusPropertiesSkeletonPrivate; |
565 | |
566 | struct _DBusPropertiesSkeleton |
567 | { |
568 | /*< private >*/ |
569 | GDBusInterfaceSkeleton parent_instance; |
570 | DBusPropertiesSkeletonPrivate *priv; |
571 | }; |
572 | |
573 | struct _DBusPropertiesSkeletonClass |
574 | { |
575 | GDBusInterfaceSkeletonClass parent_class; |
576 | }; |
577 | |
578 | GType dbus_properties_skeleton_get_type (void) G_GNUC_CONST; |
579 | |
580 | DBusProperties *dbus_properties_skeleton_new (void); |
581 | |
582 | |
5047f6bf |
583 | /* ------------------------------------------------------------------------ */ |
584 | /* Declarations for org.freedesktop.hostname1 */ |
585 | |
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)) |
590 | |
591 | struct _Hostname1; |
592 | typedef struct _Hostname1 Hostname1; |
593 | typedef struct _Hostname1Iface Hostname1Iface; |
594 | |
595 | struct _Hostname1Iface |
596 | { |
597 | GTypeInterface parent_iface; |
598 | |
599 | |
3d53b501 |
600 | gboolean (*handle_set_chassis) ( |
601 | Hostname1 *object, |
602 | GDBusMethodInvocation *invocation, |
603 | const gchar *arg_unnamed_arg0, |
604 | gboolean arg_unnamed_arg1); |
605 | |
5047f6bf |
606 | gboolean (*handle_set_hostname) ( |
607 | Hostname1 *object, |
608 | GDBusMethodInvocation *invocation, |
3d53b501 |
609 | const gchar *arg_unnamed_arg0, |
610 | gboolean arg_unnamed_arg1); |
5047f6bf |
611 | |
612 | gboolean (*handle_set_icon_name) ( |
613 | Hostname1 *object, |
614 | GDBusMethodInvocation *invocation, |
3d53b501 |
615 | const gchar *arg_unnamed_arg0, |
616 | gboolean arg_unnamed_arg1); |
5047f6bf |
617 | |
618 | gboolean (*handle_set_pretty_hostname) ( |
619 | Hostname1 *object, |
620 | GDBusMethodInvocation *invocation, |
3d53b501 |
621 | const gchar *arg_unnamed_arg0, |
622 | gboolean arg_unnamed_arg1); |
5047f6bf |
623 | |
624 | gboolean (*handle_set_static_hostname) ( |
625 | Hostname1 *object, |
626 | GDBusMethodInvocation *invocation, |
3d53b501 |
627 | const gchar *arg_unnamed_arg0, |
628 | gboolean arg_unnamed_arg1); |
629 | |
630 | const gchar * (*get_chassis) (Hostname1 *object); |
5047f6bf |
631 | |
632 | const gchar * (*get_hostname) (Hostname1 *object); |
633 | |
634 | const gchar * (*get_icon_name) (Hostname1 *object); |
635 | |
3d53b501 |
636 | const gchar * (*get_kernel_name) (Hostname1 *object); |
637 | |
638 | const gchar * (*get_kernel_release) (Hostname1 *object); |
639 | |
640 | const gchar * (*get_kernel_version) (Hostname1 *object); |
641 | |
642 | const gchar * (*get_operating_system_cpename) (Hostname1 *object); |
643 | |
644 | const gchar * (*get_operating_system_pretty_name) (Hostname1 *object); |
645 | |
5047f6bf |
646 | const gchar * (*get_pretty_hostname) (Hostname1 *object); |
647 | |
648 | const gchar * (*get_static_hostname) (Hostname1 *object); |
649 | |
650 | }; |
651 | |
652 | GType hostname1_get_type (void) G_GNUC_CONST; |
653 | |
654 | GDBusInterfaceInfo *hostname1_interface_info (void); |
655 | guint hostname1_override_properties (GObjectClass *klass, guint property_id_begin); |
656 | |
657 | |
658 | /* D-Bus method call completion functions: */ |
659 | void hostname1_complete_set_hostname ( |
660 | Hostname1 *object, |
661 | GDBusMethodInvocation *invocation); |
662 | |
663 | void hostname1_complete_set_static_hostname ( |
664 | Hostname1 *object, |
665 | GDBusMethodInvocation *invocation); |
666 | |
667 | void hostname1_complete_set_pretty_hostname ( |
668 | Hostname1 *object, |
669 | GDBusMethodInvocation *invocation); |
670 | |
671 | void hostname1_complete_set_icon_name ( |
672 | Hostname1 *object, |
673 | GDBusMethodInvocation *invocation); |
674 | |
3d53b501 |
675 | void hostname1_complete_set_chassis ( |
676 | Hostname1 *object, |
677 | GDBusMethodInvocation *invocation); |
678 | |
5047f6bf |
679 | |
680 | |
681 | /* D-Bus method calls: */ |
682 | void hostname1_call_set_hostname ( |
683 | Hostname1 *proxy, |
3d53b501 |
684 | const gchar *arg_unnamed_arg0, |
685 | gboolean arg_unnamed_arg1, |
5047f6bf |
686 | GCancellable *cancellable, |
687 | GAsyncReadyCallback callback, |
688 | gpointer user_data); |
689 | |
690 | gboolean hostname1_call_set_hostname_finish ( |
691 | Hostname1 *proxy, |
692 | GAsyncResult *res, |
693 | GError **error); |
694 | |
695 | gboolean hostname1_call_set_hostname_sync ( |
696 | Hostname1 *proxy, |
3d53b501 |
697 | const gchar *arg_unnamed_arg0, |
698 | gboolean arg_unnamed_arg1, |
5047f6bf |
699 | GCancellable *cancellable, |
700 | GError **error); |
701 | |
702 | void hostname1_call_set_static_hostname ( |
703 | Hostname1 *proxy, |
3d53b501 |
704 | const gchar *arg_unnamed_arg0, |
705 | gboolean arg_unnamed_arg1, |
5047f6bf |
706 | GCancellable *cancellable, |
707 | GAsyncReadyCallback callback, |
708 | gpointer user_data); |
709 | |
710 | gboolean hostname1_call_set_static_hostname_finish ( |
711 | Hostname1 *proxy, |
712 | GAsyncResult *res, |
713 | GError **error); |
714 | |
715 | gboolean hostname1_call_set_static_hostname_sync ( |
716 | Hostname1 *proxy, |
3d53b501 |
717 | const gchar *arg_unnamed_arg0, |
718 | gboolean arg_unnamed_arg1, |
5047f6bf |
719 | GCancellable *cancellable, |
720 | GError **error); |
721 | |
722 | void hostname1_call_set_pretty_hostname ( |
723 | Hostname1 *proxy, |
3d53b501 |
724 | const gchar *arg_unnamed_arg0, |
725 | gboolean arg_unnamed_arg1, |
5047f6bf |
726 | GCancellable *cancellable, |
727 | GAsyncReadyCallback callback, |
728 | gpointer user_data); |
729 | |
730 | gboolean hostname1_call_set_pretty_hostname_finish ( |
731 | Hostname1 *proxy, |
732 | GAsyncResult *res, |
733 | GError **error); |
734 | |
735 | gboolean hostname1_call_set_pretty_hostname_sync ( |
736 | Hostname1 *proxy, |
3d53b501 |
737 | const gchar *arg_unnamed_arg0, |
738 | gboolean arg_unnamed_arg1, |
5047f6bf |
739 | GCancellable *cancellable, |
740 | GError **error); |
741 | |
742 | void hostname1_call_set_icon_name ( |
743 | Hostname1 *proxy, |
3d53b501 |
744 | const gchar *arg_unnamed_arg0, |
745 | gboolean arg_unnamed_arg1, |
5047f6bf |
746 | GCancellable *cancellable, |
747 | GAsyncReadyCallback callback, |
748 | gpointer user_data); |
749 | |
750 | gboolean hostname1_call_set_icon_name_finish ( |
751 | Hostname1 *proxy, |
752 | GAsyncResult *res, |
753 | GError **error); |
754 | |
755 | gboolean hostname1_call_set_icon_name_sync ( |
756 | Hostname1 *proxy, |
3d53b501 |
757 | const gchar *arg_unnamed_arg0, |
758 | gboolean arg_unnamed_arg1, |
759 | GCancellable *cancellable, |
760 | GError **error); |
761 | |
762 | void hostname1_call_set_chassis ( |
763 | Hostname1 *proxy, |
764 | const gchar *arg_unnamed_arg0, |
765 | gboolean arg_unnamed_arg1, |
766 | GCancellable *cancellable, |
767 | GAsyncReadyCallback callback, |
768 | gpointer user_data); |
769 | |
770 | gboolean hostname1_call_set_chassis_finish ( |
771 | Hostname1 *proxy, |
772 | GAsyncResult *res, |
773 | GError **error); |
774 | |
775 | gboolean hostname1_call_set_chassis_sync ( |
776 | Hostname1 *proxy, |
777 | const gchar *arg_unnamed_arg0, |
778 | gboolean arg_unnamed_arg1, |
5047f6bf |
779 | GCancellable *cancellable, |
780 | GError **error); |
781 | |
782 | |
783 | |
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); |
788 | |
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); |
792 | |
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); |
796 | |
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); |
800 | |
3d53b501 |
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); |
804 | |
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); |
808 | |
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); |
812 | |
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); |
816 | |
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); |
820 | |
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); |
824 | |
5047f6bf |
825 | |
826 | /* ---- */ |
827 | |
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)) |
834 | |
835 | typedef struct _Hostname1Proxy Hostname1Proxy; |
836 | typedef struct _Hostname1ProxyClass Hostname1ProxyClass; |
837 | typedef struct _Hostname1ProxyPrivate Hostname1ProxyPrivate; |
838 | |
839 | struct _Hostname1Proxy |
840 | { |
841 | /*< private >*/ |
842 | GDBusProxy parent_instance; |
843 | Hostname1ProxyPrivate *priv; |
844 | }; |
845 | |
846 | struct _Hostname1ProxyClass |
847 | { |
848 | GDBusProxyClass parent_class; |
849 | }; |
850 | |
851 | GType hostname1_proxy_get_type (void) G_GNUC_CONST; |
852 | |
853 | void hostname1_proxy_new ( |
854 | GDBusConnection *connection, |
855 | GDBusProxyFlags flags, |
856 | const gchar *name, |
857 | const gchar *object_path, |
858 | GCancellable *cancellable, |
859 | GAsyncReadyCallback callback, |
860 | gpointer user_data); |
861 | Hostname1 *hostname1_proxy_new_finish ( |
862 | GAsyncResult *res, |
863 | GError **error); |
864 | Hostname1 *hostname1_proxy_new_sync ( |
865 | GDBusConnection *connection, |
866 | GDBusProxyFlags flags, |
867 | const gchar *name, |
868 | const gchar *object_path, |
869 | GCancellable *cancellable, |
870 | GError **error); |
871 | |
872 | void hostname1_proxy_new_for_bus ( |
873 | GBusType bus_type, |
874 | GDBusProxyFlags flags, |
875 | const gchar *name, |
876 | const gchar *object_path, |
877 | GCancellable *cancellable, |
878 | GAsyncReadyCallback callback, |
879 | gpointer user_data); |
880 | Hostname1 *hostname1_proxy_new_for_bus_finish ( |
881 | GAsyncResult *res, |
882 | GError **error); |
883 | Hostname1 *hostname1_proxy_new_for_bus_sync ( |
884 | GBusType bus_type, |
885 | GDBusProxyFlags flags, |
886 | const gchar *name, |
887 | const gchar *object_path, |
888 | GCancellable *cancellable, |
889 | GError **error); |
890 | |
891 | |
892 | /* ---- */ |
893 | |
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)) |
900 | |
901 | typedef struct _Hostname1Skeleton Hostname1Skeleton; |
902 | typedef struct _Hostname1SkeletonClass Hostname1SkeletonClass; |
903 | typedef struct _Hostname1SkeletonPrivate Hostname1SkeletonPrivate; |
904 | |
905 | struct _Hostname1Skeleton |
906 | { |
907 | /*< private >*/ |
908 | GDBusInterfaceSkeleton parent_instance; |
909 | Hostname1SkeletonPrivate *priv; |
910 | }; |
911 | |
912 | struct _Hostname1SkeletonClass |
913 | { |
914 | GDBusInterfaceSkeletonClass parent_class; |
915 | }; |
916 | |
917 | GType hostname1_skeleton_get_type (void) G_GNUC_CONST; |
918 | |
919 | Hostname1 *hostname1_skeleton_new (void); |
920 | |
921 | |
922 | G_END_DECLS |
923 | |
924 | #endif /* __SRC_INTERFACES_HOSTNAMED_HOSTNAMED_GEN_H__ */ |