2 * Generated by gdbus-codegen 2.52.0. DO NOT EDIT.
4 * The license of this code is the same as for the source it was derived from.
7 #ifndef __LIGHTMEDIASCANNER_INTERFACE_H__
8 #define __LIGHTMEDIASCANNER_INTERFACE_H__
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for org.freedesktop.DBus.Properties */
18 #define TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES (org_freedesktop_dbus_properties_get_type ())
19 #define ORG_FREEDESKTOP_DBUS_PROPERTIES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, OrgFreedesktopDBusProperties))
20 #define IS_ORG_FREEDESKTOP_DBUS_PROPERTIES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES))
21 #define ORG_FREEDESKTOP_DBUS_PROPERTIES_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, OrgFreedesktopDBusPropertiesIface))
23 struct _OrgFreedesktopDBusProperties;
24 typedef struct _OrgFreedesktopDBusProperties OrgFreedesktopDBusProperties;
25 typedef struct _OrgFreedesktopDBusPropertiesIface OrgFreedesktopDBusPropertiesIface;
27 struct _OrgFreedesktopDBusPropertiesIface
29 GTypeInterface parent_iface;
32 gboolean (*handle_get) (
33 OrgFreedesktopDBusProperties *object,
34 GDBusMethodInvocation *invocation,
35 const gchar *arg_interface_name,
36 const gchar *arg_property_name);
38 gboolean (*handle_get_all) (
39 OrgFreedesktopDBusProperties *object,
40 GDBusMethodInvocation *invocation,
41 const gchar *arg_interface_name);
43 gboolean (*handle_set) (
44 OrgFreedesktopDBusProperties *object,
45 GDBusMethodInvocation *invocation,
46 const gchar *arg_interface_name,
47 const gchar *arg_property_name,
50 void (*properties_changed) (
51 OrgFreedesktopDBusProperties *object,
52 const gchar *arg_interface_name,
53 GVariant *arg_changed_properties,
54 const gchar *const *arg_invalidated_properties);
58 GType org_freedesktop_dbus_properties_get_type (void) G_GNUC_CONST;
60 GDBusInterfaceInfo *org_freedesktop_dbus_properties_interface_info (void);
61 guint org_freedesktop_dbus_properties_override_properties (GObjectClass *klass, guint property_id_begin);
64 /* D-Bus method call completion functions: */
65 void org_freedesktop_dbus_properties_complete_get (
66 OrgFreedesktopDBusProperties *object,
67 GDBusMethodInvocation *invocation,
70 void org_freedesktop_dbus_properties_complete_get_all (
71 OrgFreedesktopDBusProperties *object,
72 GDBusMethodInvocation *invocation,
73 GVariant *properties);
75 void org_freedesktop_dbus_properties_complete_set (
76 OrgFreedesktopDBusProperties *object,
77 GDBusMethodInvocation *invocation);
81 /* D-Bus signal emissions functions: */
82 void org_freedesktop_dbus_properties_emit_properties_changed (
83 OrgFreedesktopDBusProperties *object,
84 const gchar *arg_interface_name,
85 GVariant *arg_changed_properties,
86 const gchar *const *arg_invalidated_properties);
90 /* D-Bus method calls: */
91 void org_freedesktop_dbus_properties_call_get (
92 OrgFreedesktopDBusProperties *proxy,
93 const gchar *arg_interface_name,
94 const gchar *arg_property_name,
95 GCancellable *cancellable,
96 GAsyncReadyCallback callback,
99 gboolean org_freedesktop_dbus_properties_call_get_finish (
100 OrgFreedesktopDBusProperties *proxy,
101 GVariant **out_value,
105 gboolean org_freedesktop_dbus_properties_call_get_sync (
106 OrgFreedesktopDBusProperties *proxy,
107 const gchar *arg_interface_name,
108 const gchar *arg_property_name,
109 GVariant **out_value,
110 GCancellable *cancellable,
113 void org_freedesktop_dbus_properties_call_get_all (
114 OrgFreedesktopDBusProperties *proxy,
115 const gchar *arg_interface_name,
116 GCancellable *cancellable,
117 GAsyncReadyCallback callback,
120 gboolean org_freedesktop_dbus_properties_call_get_all_finish (
121 OrgFreedesktopDBusProperties *proxy,
122 GVariant **out_properties,
126 gboolean org_freedesktop_dbus_properties_call_get_all_sync (
127 OrgFreedesktopDBusProperties *proxy,
128 const gchar *arg_interface_name,
129 GVariant **out_properties,
130 GCancellable *cancellable,
133 void org_freedesktop_dbus_properties_call_set (
134 OrgFreedesktopDBusProperties *proxy,
135 const gchar *arg_interface_name,
136 const gchar *arg_property_name,
138 GCancellable *cancellable,
139 GAsyncReadyCallback callback,
142 gboolean org_freedesktop_dbus_properties_call_set_finish (
143 OrgFreedesktopDBusProperties *proxy,
147 gboolean org_freedesktop_dbus_properties_call_set_sync (
148 OrgFreedesktopDBusProperties *proxy,
149 const gchar *arg_interface_name,
150 const gchar *arg_property_name,
152 GCancellable *cancellable,
159 #define TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_PROXY (org_freedesktop_dbus_properties_proxy_get_type ())
160 #define ORG_FREEDESKTOP_DBUS_PROPERTIES_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_PROXY, OrgFreedesktopDBusPropertiesProxy))
161 #define ORG_FREEDESKTOP_DBUS_PROPERTIES_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_PROXY, OrgFreedesktopDBusPropertiesProxyClass))
162 #define ORG_FREEDESKTOP_DBUS_PROPERTIES_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_PROXY, OrgFreedesktopDBusPropertiesProxyClass))
163 #define IS_ORG_FREEDESKTOP_DBUS_PROPERTIES_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_PROXY))
164 #define IS_ORG_FREEDESKTOP_DBUS_PROPERTIES_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_PROXY))
166 typedef struct _OrgFreedesktopDBusPropertiesProxy OrgFreedesktopDBusPropertiesProxy;
167 typedef struct _OrgFreedesktopDBusPropertiesProxyClass OrgFreedesktopDBusPropertiesProxyClass;
168 typedef struct _OrgFreedesktopDBusPropertiesProxyPrivate OrgFreedesktopDBusPropertiesProxyPrivate;
170 struct _OrgFreedesktopDBusPropertiesProxy
173 GDBusProxy parent_instance;
174 OrgFreedesktopDBusPropertiesProxyPrivate *priv;
177 struct _OrgFreedesktopDBusPropertiesProxyClass
179 GDBusProxyClass parent_class;
182 GType org_freedesktop_dbus_properties_proxy_get_type (void) G_GNUC_CONST;
184 #if GLIB_CHECK_VERSION(2, 44, 0)
185 G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgFreedesktopDBusPropertiesProxy, g_object_unref)
188 void org_freedesktop_dbus_properties_proxy_new (
189 GDBusConnection *connection,
190 GDBusProxyFlags flags,
192 const gchar *object_path,
193 GCancellable *cancellable,
194 GAsyncReadyCallback callback,
196 OrgFreedesktopDBusProperties *org_freedesktop_dbus_properties_proxy_new_finish (
199 OrgFreedesktopDBusProperties *org_freedesktop_dbus_properties_proxy_new_sync (
200 GDBusConnection *connection,
201 GDBusProxyFlags flags,
203 const gchar *object_path,
204 GCancellable *cancellable,
207 void org_freedesktop_dbus_properties_proxy_new_for_bus (
209 GDBusProxyFlags flags,
211 const gchar *object_path,
212 GCancellable *cancellable,
213 GAsyncReadyCallback callback,
215 OrgFreedesktopDBusProperties *org_freedesktop_dbus_properties_proxy_new_for_bus_finish (
218 OrgFreedesktopDBusProperties *org_freedesktop_dbus_properties_proxy_new_for_bus_sync (
220 GDBusProxyFlags flags,
222 const gchar *object_path,
223 GCancellable *cancellable,
229 #define TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_SKELETON (org_freedesktop_dbus_properties_skeleton_get_type ())
230 #define ORG_FREEDESKTOP_DBUS_PROPERTIES_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_SKELETON, OrgFreedesktopDBusPropertiesSkeleton))
231 #define ORG_FREEDESKTOP_DBUS_PROPERTIES_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_SKELETON, OrgFreedesktopDBusPropertiesSkeletonClass))
232 #define ORG_FREEDESKTOP_DBUS_PROPERTIES_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_SKELETON, OrgFreedesktopDBusPropertiesSkeletonClass))
233 #define IS_ORG_FREEDESKTOP_DBUS_PROPERTIES_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_SKELETON))
234 #define IS_ORG_FREEDESKTOP_DBUS_PROPERTIES_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES_SKELETON))
236 typedef struct _OrgFreedesktopDBusPropertiesSkeleton OrgFreedesktopDBusPropertiesSkeleton;
237 typedef struct _OrgFreedesktopDBusPropertiesSkeletonClass OrgFreedesktopDBusPropertiesSkeletonClass;
238 typedef struct _OrgFreedesktopDBusPropertiesSkeletonPrivate OrgFreedesktopDBusPropertiesSkeletonPrivate;
240 struct _OrgFreedesktopDBusPropertiesSkeleton
243 GDBusInterfaceSkeleton parent_instance;
244 OrgFreedesktopDBusPropertiesSkeletonPrivate *priv;
247 struct _OrgFreedesktopDBusPropertiesSkeletonClass
249 GDBusInterfaceSkeletonClass parent_class;
252 GType org_freedesktop_dbus_properties_skeleton_get_type (void) G_GNUC_CONST;
254 #if GLIB_CHECK_VERSION(2, 44, 0)
255 G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgFreedesktopDBusPropertiesSkeleton, g_object_unref)
258 OrgFreedesktopDBusProperties *org_freedesktop_dbus_properties_skeleton_new (void);
261 /* ------------------------------------------------------------------------ */
262 /* Declarations for org.freedesktop.DBus.Introspectable */
264 #define TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE (org_freedesktop_dbus_introspectable_get_type ())
265 #define ORG_FREEDESKTOP_DBUS_INTROSPECTABLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE, OrgFreedesktopDBusIntrospectable))
266 #define IS_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE))
267 #define ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE, OrgFreedesktopDBusIntrospectableIface))
269 struct _OrgFreedesktopDBusIntrospectable;
270 typedef struct _OrgFreedesktopDBusIntrospectable OrgFreedesktopDBusIntrospectable;
271 typedef struct _OrgFreedesktopDBusIntrospectableIface OrgFreedesktopDBusIntrospectableIface;
273 struct _OrgFreedesktopDBusIntrospectableIface
275 GTypeInterface parent_iface;
277 gboolean (*handle_introspect) (
278 OrgFreedesktopDBusIntrospectable *object,
279 GDBusMethodInvocation *invocation);
283 GType org_freedesktop_dbus_introspectable_get_type (void) G_GNUC_CONST;
285 GDBusInterfaceInfo *org_freedesktop_dbus_introspectable_interface_info (void);
286 guint org_freedesktop_dbus_introspectable_override_properties (GObjectClass *klass, guint property_id_begin);
289 /* D-Bus method call completion functions: */
290 void org_freedesktop_dbus_introspectable_complete_introspect (
291 OrgFreedesktopDBusIntrospectable *object,
292 GDBusMethodInvocation *invocation,
293 const gchar *xml_data);
297 /* D-Bus method calls: */
298 void org_freedesktop_dbus_introspectable_call_introspect (
299 OrgFreedesktopDBusIntrospectable *proxy,
300 GCancellable *cancellable,
301 GAsyncReadyCallback callback,
304 gboolean org_freedesktop_dbus_introspectable_call_introspect_finish (
305 OrgFreedesktopDBusIntrospectable *proxy,
306 gchar **out_xml_data,
310 gboolean org_freedesktop_dbus_introspectable_call_introspect_sync (
311 OrgFreedesktopDBusIntrospectable *proxy,
312 gchar **out_xml_data,
313 GCancellable *cancellable,
320 #define TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_PROXY (org_freedesktop_dbus_introspectable_proxy_get_type ())
321 #define ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_PROXY, OrgFreedesktopDBusIntrospectableProxy))
322 #define ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_PROXY, OrgFreedesktopDBusIntrospectableProxyClass))
323 #define ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_PROXY, OrgFreedesktopDBusIntrospectableProxyClass))
324 #define IS_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_PROXY))
325 #define IS_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_PROXY))
327 typedef struct _OrgFreedesktopDBusIntrospectableProxy OrgFreedesktopDBusIntrospectableProxy;
328 typedef struct _OrgFreedesktopDBusIntrospectableProxyClass OrgFreedesktopDBusIntrospectableProxyClass;
329 typedef struct _OrgFreedesktopDBusIntrospectableProxyPrivate OrgFreedesktopDBusIntrospectableProxyPrivate;
331 struct _OrgFreedesktopDBusIntrospectableProxy
334 GDBusProxy parent_instance;
335 OrgFreedesktopDBusIntrospectableProxyPrivate *priv;
338 struct _OrgFreedesktopDBusIntrospectableProxyClass
340 GDBusProxyClass parent_class;
343 GType org_freedesktop_dbus_introspectable_proxy_get_type (void) G_GNUC_CONST;
345 #if GLIB_CHECK_VERSION(2, 44, 0)
346 G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgFreedesktopDBusIntrospectableProxy, g_object_unref)
349 void org_freedesktop_dbus_introspectable_proxy_new (
350 GDBusConnection *connection,
351 GDBusProxyFlags flags,
353 const gchar *object_path,
354 GCancellable *cancellable,
355 GAsyncReadyCallback callback,
357 OrgFreedesktopDBusIntrospectable *org_freedesktop_dbus_introspectable_proxy_new_finish (
360 OrgFreedesktopDBusIntrospectable *org_freedesktop_dbus_introspectable_proxy_new_sync (
361 GDBusConnection *connection,
362 GDBusProxyFlags flags,
364 const gchar *object_path,
365 GCancellable *cancellable,
368 void org_freedesktop_dbus_introspectable_proxy_new_for_bus (
370 GDBusProxyFlags flags,
372 const gchar *object_path,
373 GCancellable *cancellable,
374 GAsyncReadyCallback callback,
376 OrgFreedesktopDBusIntrospectable *org_freedesktop_dbus_introspectable_proxy_new_for_bus_finish (
379 OrgFreedesktopDBusIntrospectable *org_freedesktop_dbus_introspectable_proxy_new_for_bus_sync (
381 GDBusProxyFlags flags,
383 const gchar *object_path,
384 GCancellable *cancellable,
390 #define TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_SKELETON (org_freedesktop_dbus_introspectable_skeleton_get_type ())
391 #define ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_SKELETON, OrgFreedesktopDBusIntrospectableSkeleton))
392 #define ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_SKELETON, OrgFreedesktopDBusIntrospectableSkeletonClass))
393 #define ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_SKELETON, OrgFreedesktopDBusIntrospectableSkeletonClass))
394 #define IS_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_SKELETON))
395 #define IS_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_FREEDESKTOP_DBUS_INTROSPECTABLE_SKELETON))
397 typedef struct _OrgFreedesktopDBusIntrospectableSkeleton OrgFreedesktopDBusIntrospectableSkeleton;
398 typedef struct _OrgFreedesktopDBusIntrospectableSkeletonClass OrgFreedesktopDBusIntrospectableSkeletonClass;
399 typedef struct _OrgFreedesktopDBusIntrospectableSkeletonPrivate OrgFreedesktopDBusIntrospectableSkeletonPrivate;
401 struct _OrgFreedesktopDBusIntrospectableSkeleton
404 GDBusInterfaceSkeleton parent_instance;
405 OrgFreedesktopDBusIntrospectableSkeletonPrivate *priv;
408 struct _OrgFreedesktopDBusIntrospectableSkeletonClass
410 GDBusInterfaceSkeletonClass parent_class;
413 GType org_freedesktop_dbus_introspectable_skeleton_get_type (void) G_GNUC_CONST;
415 #if GLIB_CHECK_VERSION(2, 44, 0)
416 G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgFreedesktopDBusIntrospectableSkeleton, g_object_unref)
419 OrgFreedesktopDBusIntrospectable *org_freedesktop_dbus_introspectable_skeleton_new (void);
422 /* ------------------------------------------------------------------------ */
423 /* Declarations for org.freedesktop.DBus.Peer */
425 #define TYPE_ORG_FREEDESKTOP_DBUS_PEER (org_freedesktop_dbus_peer_get_type ())
426 #define ORG_FREEDESKTOP_DBUS_PEER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_DBUS_PEER, OrgFreedesktopDBusPeer))
427 #define IS_ORG_FREEDESKTOP_DBUS_PEER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_DBUS_PEER))
428 #define ORG_FREEDESKTOP_DBUS_PEER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_FREEDESKTOP_DBUS_PEER, OrgFreedesktopDBusPeerIface))
430 struct _OrgFreedesktopDBusPeer;
431 typedef struct _OrgFreedesktopDBusPeer OrgFreedesktopDBusPeer;
432 typedef struct _OrgFreedesktopDBusPeerIface OrgFreedesktopDBusPeerIface;
434 struct _OrgFreedesktopDBusPeerIface
436 GTypeInterface parent_iface;
438 gboolean (*handle_get_machine_id) (
439 OrgFreedesktopDBusPeer *object,
440 GDBusMethodInvocation *invocation);
442 gboolean (*handle_ping) (
443 OrgFreedesktopDBusPeer *object,
444 GDBusMethodInvocation *invocation);
448 GType org_freedesktop_dbus_peer_get_type (void) G_GNUC_CONST;
450 GDBusInterfaceInfo *org_freedesktop_dbus_peer_interface_info (void);
451 guint org_freedesktop_dbus_peer_override_properties (GObjectClass *klass, guint property_id_begin);
454 /* D-Bus method call completion functions: */
455 void org_freedesktop_dbus_peer_complete_ping (
456 OrgFreedesktopDBusPeer *object,
457 GDBusMethodInvocation *invocation);
459 void org_freedesktop_dbus_peer_complete_get_machine_id (
460 OrgFreedesktopDBusPeer *object,
461 GDBusMethodInvocation *invocation,
462 const gchar *machine_uuid);
466 /* D-Bus method calls: */
467 void org_freedesktop_dbus_peer_call_ping (
468 OrgFreedesktopDBusPeer *proxy,
469 GCancellable *cancellable,
470 GAsyncReadyCallback callback,
473 gboolean org_freedesktop_dbus_peer_call_ping_finish (
474 OrgFreedesktopDBusPeer *proxy,
478 gboolean org_freedesktop_dbus_peer_call_ping_sync (
479 OrgFreedesktopDBusPeer *proxy,
480 GCancellable *cancellable,
483 void org_freedesktop_dbus_peer_call_get_machine_id (
484 OrgFreedesktopDBusPeer *proxy,
485 GCancellable *cancellable,
486 GAsyncReadyCallback callback,
489 gboolean org_freedesktop_dbus_peer_call_get_machine_id_finish (
490 OrgFreedesktopDBusPeer *proxy,
491 gchar **out_machine_uuid,
495 gboolean org_freedesktop_dbus_peer_call_get_machine_id_sync (
496 OrgFreedesktopDBusPeer *proxy,
497 gchar **out_machine_uuid,
498 GCancellable *cancellable,
505 #define TYPE_ORG_FREEDESKTOP_DBUS_PEER_PROXY (org_freedesktop_dbus_peer_proxy_get_type ())
506 #define ORG_FREEDESKTOP_DBUS_PEER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_DBUS_PEER_PROXY, OrgFreedesktopDBusPeerProxy))
507 #define ORG_FREEDESKTOP_DBUS_PEER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_FREEDESKTOP_DBUS_PEER_PROXY, OrgFreedesktopDBusPeerProxyClass))
508 #define ORG_FREEDESKTOP_DBUS_PEER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_FREEDESKTOP_DBUS_PEER_PROXY, OrgFreedesktopDBusPeerProxyClass))
509 #define IS_ORG_FREEDESKTOP_DBUS_PEER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_DBUS_PEER_PROXY))
510 #define IS_ORG_FREEDESKTOP_DBUS_PEER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_FREEDESKTOP_DBUS_PEER_PROXY))
512 typedef struct _OrgFreedesktopDBusPeerProxy OrgFreedesktopDBusPeerProxy;
513 typedef struct _OrgFreedesktopDBusPeerProxyClass OrgFreedesktopDBusPeerProxyClass;
514 typedef struct _OrgFreedesktopDBusPeerProxyPrivate OrgFreedesktopDBusPeerProxyPrivate;
516 struct _OrgFreedesktopDBusPeerProxy
519 GDBusProxy parent_instance;
520 OrgFreedesktopDBusPeerProxyPrivate *priv;
523 struct _OrgFreedesktopDBusPeerProxyClass
525 GDBusProxyClass parent_class;
528 GType org_freedesktop_dbus_peer_proxy_get_type (void) G_GNUC_CONST;
530 #if GLIB_CHECK_VERSION(2, 44, 0)
531 G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgFreedesktopDBusPeerProxy, g_object_unref)
534 void org_freedesktop_dbus_peer_proxy_new (
535 GDBusConnection *connection,
536 GDBusProxyFlags flags,
538 const gchar *object_path,
539 GCancellable *cancellable,
540 GAsyncReadyCallback callback,
542 OrgFreedesktopDBusPeer *org_freedesktop_dbus_peer_proxy_new_finish (
545 OrgFreedesktopDBusPeer *org_freedesktop_dbus_peer_proxy_new_sync (
546 GDBusConnection *connection,
547 GDBusProxyFlags flags,
549 const gchar *object_path,
550 GCancellable *cancellable,
553 void org_freedesktop_dbus_peer_proxy_new_for_bus (
555 GDBusProxyFlags flags,
557 const gchar *object_path,
558 GCancellable *cancellable,
559 GAsyncReadyCallback callback,
561 OrgFreedesktopDBusPeer *org_freedesktop_dbus_peer_proxy_new_for_bus_finish (
564 OrgFreedesktopDBusPeer *org_freedesktop_dbus_peer_proxy_new_for_bus_sync (
566 GDBusProxyFlags flags,
568 const gchar *object_path,
569 GCancellable *cancellable,
575 #define TYPE_ORG_FREEDESKTOP_DBUS_PEER_SKELETON (org_freedesktop_dbus_peer_skeleton_get_type ())
576 #define ORG_FREEDESKTOP_DBUS_PEER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_FREEDESKTOP_DBUS_PEER_SKELETON, OrgFreedesktopDBusPeerSkeleton))
577 #define ORG_FREEDESKTOP_DBUS_PEER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_FREEDESKTOP_DBUS_PEER_SKELETON, OrgFreedesktopDBusPeerSkeletonClass))
578 #define ORG_FREEDESKTOP_DBUS_PEER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_FREEDESKTOP_DBUS_PEER_SKELETON, OrgFreedesktopDBusPeerSkeletonClass))
579 #define IS_ORG_FREEDESKTOP_DBUS_PEER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_FREEDESKTOP_DBUS_PEER_SKELETON))
580 #define IS_ORG_FREEDESKTOP_DBUS_PEER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_FREEDESKTOP_DBUS_PEER_SKELETON))
582 typedef struct _OrgFreedesktopDBusPeerSkeleton OrgFreedesktopDBusPeerSkeleton;
583 typedef struct _OrgFreedesktopDBusPeerSkeletonClass OrgFreedesktopDBusPeerSkeletonClass;
584 typedef struct _OrgFreedesktopDBusPeerSkeletonPrivate OrgFreedesktopDBusPeerSkeletonPrivate;
586 struct _OrgFreedesktopDBusPeerSkeleton
589 GDBusInterfaceSkeleton parent_instance;
590 OrgFreedesktopDBusPeerSkeletonPrivate *priv;
593 struct _OrgFreedesktopDBusPeerSkeletonClass
595 GDBusInterfaceSkeletonClass parent_class;
598 GType org_freedesktop_dbus_peer_skeleton_get_type (void) G_GNUC_CONST;
600 #if GLIB_CHECK_VERSION(2, 44, 0)
601 G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgFreedesktopDBusPeerSkeleton, g_object_unref)
604 OrgFreedesktopDBusPeer *org_freedesktop_dbus_peer_skeleton_new (void);
607 /* ------------------------------------------------------------------------ */
608 /* Declarations for org.lightmediascanner.Scanner1 */
610 #define TYPE_SCANNER1 (scanner1_get_type ())
611 #define SCANNER1(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SCANNER1, Scanner1))
612 #define IS_SCANNER1(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SCANNER1))
613 #define SCANNER1_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SCANNER1, Scanner1Iface))
616 typedef struct _Scanner1 Scanner1;
617 typedef struct _Scanner1Iface Scanner1Iface;
619 struct _Scanner1Iface
621 GTypeInterface parent_iface;
625 gboolean (*handle_release_write_lock) (
627 GDBusMethodInvocation *invocation);
629 gboolean (*handle_request_write_lock) (
631 GDBusMethodInvocation *invocation);
633 gboolean (*handle_scan) (
635 GDBusMethodInvocation *invocation,
636 GVariant *arg_specification);
638 gboolean (*handle_stop) (
640 GDBusMethodInvocation *invocation);
642 GVariant * (*get_categories) (Scanner1 *object);
644 const gchar * (*get_data_base_path) (Scanner1 *object);
646 gboolean (*get_is_scanning) (Scanner1 *object);
648 guint64 (*get_update_id) (Scanner1 *object);
650 gboolean (*get_write_locked) (Scanner1 *object);
652 void (*scan_progress) (
654 const gchar *arg_Category,
655 const gchar *arg_Path,
656 guint64 arg_UpToDate,
657 guint64 arg_Processed,
664 GType scanner1_get_type (void) G_GNUC_CONST;
666 GDBusInterfaceInfo *scanner1_interface_info (void);
667 guint scanner1_override_properties (GObjectClass *klass, guint property_id_begin);
670 /* D-Bus method call completion functions: */
671 void scanner1_complete_scan (
673 GDBusMethodInvocation *invocation);
675 void scanner1_complete_stop (
677 GDBusMethodInvocation *invocation);
679 void scanner1_complete_request_write_lock (
681 GDBusMethodInvocation *invocation);
683 void scanner1_complete_release_write_lock (
685 GDBusMethodInvocation *invocation);
689 /* D-Bus signal emissions functions: */
690 void scanner1_emit_scan_progress (
692 const gchar *arg_Category,
693 const gchar *arg_Path,
694 guint64 arg_UpToDate,
695 guint64 arg_Processed,
702 /* D-Bus method calls: */
703 void scanner1_call_scan (
705 GVariant *arg_specification,
706 GCancellable *cancellable,
707 GAsyncReadyCallback callback,
710 gboolean scanner1_call_scan_finish (
715 gboolean scanner1_call_scan_sync (
717 GVariant *arg_specification,
718 GCancellable *cancellable,
721 void scanner1_call_stop (
723 GCancellable *cancellable,
724 GAsyncReadyCallback callback,
727 gboolean scanner1_call_stop_finish (
732 gboolean scanner1_call_stop_sync (
734 GCancellable *cancellable,
737 void scanner1_call_request_write_lock (
739 GCancellable *cancellable,
740 GAsyncReadyCallback callback,
743 gboolean scanner1_call_request_write_lock_finish (
748 gboolean scanner1_call_request_write_lock_sync (
750 GCancellable *cancellable,
753 void scanner1_call_release_write_lock (
755 GCancellable *cancellable,
756 GAsyncReadyCallback callback,
759 gboolean scanner1_call_release_write_lock_finish (
764 gboolean scanner1_call_release_write_lock_sync (
766 GCancellable *cancellable,
771 /* D-Bus property accessors: */
772 const gchar *scanner1_get_data_base_path (Scanner1 *object);
773 gchar *scanner1_dup_data_base_path (Scanner1 *object);
774 void scanner1_set_data_base_path (Scanner1 *object, const gchar *value);
776 gboolean scanner1_get_is_scanning (Scanner1 *object);
777 void scanner1_set_is_scanning (Scanner1 *object, gboolean value);
779 gboolean scanner1_get_write_locked (Scanner1 *object);
780 void scanner1_set_write_locked (Scanner1 *object, gboolean value);
782 guint64 scanner1_get_update_id (Scanner1 *object);
783 void scanner1_set_update_id (Scanner1 *object, guint64 value);
785 GVariant *scanner1_get_categories (Scanner1 *object);
786 GVariant *scanner1_dup_categories (Scanner1 *object);
787 void scanner1_set_categories (Scanner1 *object, GVariant *value);
792 #define TYPE_SCANNER1_PROXY (scanner1_proxy_get_type ())
793 #define SCANNER1_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SCANNER1_PROXY, Scanner1Proxy))
794 #define SCANNER1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SCANNER1_PROXY, Scanner1ProxyClass))
795 #define SCANNER1_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SCANNER1_PROXY, Scanner1ProxyClass))
796 #define IS_SCANNER1_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SCANNER1_PROXY))
797 #define IS_SCANNER1_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SCANNER1_PROXY))
799 typedef struct _Scanner1Proxy Scanner1Proxy;
800 typedef struct _Scanner1ProxyClass Scanner1ProxyClass;
801 typedef struct _Scanner1ProxyPrivate Scanner1ProxyPrivate;
803 struct _Scanner1Proxy
806 GDBusProxy parent_instance;
807 Scanner1ProxyPrivate *priv;
810 struct _Scanner1ProxyClass
812 GDBusProxyClass parent_class;
815 GType scanner1_proxy_get_type (void) G_GNUC_CONST;
817 #if GLIB_CHECK_VERSION(2, 44, 0)
818 G_DEFINE_AUTOPTR_CLEANUP_FUNC (Scanner1Proxy, g_object_unref)
821 void scanner1_proxy_new (
822 GDBusConnection *connection,
823 GDBusProxyFlags flags,
825 const gchar *object_path,
826 GCancellable *cancellable,
827 GAsyncReadyCallback callback,
829 Scanner1 *scanner1_proxy_new_finish (
832 Scanner1 *scanner1_proxy_new_sync (
833 GDBusConnection *connection,
834 GDBusProxyFlags flags,
836 const gchar *object_path,
837 GCancellable *cancellable,
840 void scanner1_proxy_new_for_bus (
842 GDBusProxyFlags flags,
844 const gchar *object_path,
845 GCancellable *cancellable,
846 GAsyncReadyCallback callback,
848 Scanner1 *scanner1_proxy_new_for_bus_finish (
851 Scanner1 *scanner1_proxy_new_for_bus_sync (
853 GDBusProxyFlags flags,
855 const gchar *object_path,
856 GCancellable *cancellable,
862 #define TYPE_SCANNER1_SKELETON (scanner1_skeleton_get_type ())
863 #define SCANNER1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SCANNER1_SKELETON, Scanner1Skeleton))
864 #define SCANNER1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SCANNER1_SKELETON, Scanner1SkeletonClass))
865 #define SCANNER1_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SCANNER1_SKELETON, Scanner1SkeletonClass))
866 #define IS_SCANNER1_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SCANNER1_SKELETON))
867 #define IS_SCANNER1_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SCANNER1_SKELETON))
869 typedef struct _Scanner1Skeleton Scanner1Skeleton;
870 typedef struct _Scanner1SkeletonClass Scanner1SkeletonClass;
871 typedef struct _Scanner1SkeletonPrivate Scanner1SkeletonPrivate;
873 struct _Scanner1Skeleton
876 GDBusInterfaceSkeleton parent_instance;
877 Scanner1SkeletonPrivate *priv;
880 struct _Scanner1SkeletonClass
882 GDBusInterfaceSkeletonClass parent_class;
885 GType scanner1_skeleton_get_type (void) G_GNUC_CONST;
887 #if GLIB_CHECK_VERSION(2, 44, 0)
888 G_DEFINE_AUTOPTR_CLEANUP_FUNC (Scanner1Skeleton, g_object_unref)
891 Scanner1 *scanner1_skeleton_new (void);
896 #endif /* __LIGHTMEDIASCANNER_INTERFACE_H__ */