1 #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
2 #error "Only <gio/gio.h> can be included directly."
5 #ifndef __G_NATIVE_VOLUME_MONITOR_H__
6 #define __G_NATIVE_VOLUME_MONITOR_H__
8 #include <gio/gvolumemonitor.h>
12 #define G_TYPE_NATIVE_VOLUME_MONITOR (g_native_volume_monitor_get_type ())
13 #define G_NATIVE_VOLUME_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_NATIVE_VOLUME_MONITOR, GNativeVolumeMonitor))
14 #define G_NATIVE_VOLUME_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_NATIVE_VOLUME_MONITOR, GNativeVolumeMonitorClass))
15 #define G_IS_NATIVE_VOLUME_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_NATIVE_VOLUME_MONITOR))
16 #define G_IS_NATIVE_VOLUME_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_NATIVE_VOLUME_MONITOR))
18 #define G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME "gio-native-volume-monitor"
20 typedef struct _GNativeVolumeMonitor GNativeVolumeMonitor;
21 typedef struct _GNativeVolumeMonitorClass GNativeVolumeMonitorClass;
23 struct _GNativeVolumeMonitor
25 GVolumeMonitor parent_instance;
28 struct _GNativeVolumeMonitorClass
30 GVolumeMonitorClass parent_class;
32 GMount * (* get_mount_for_mount_path) (const char *mount_path,
33 GCancellable *cancellable);
36 GType g_native_volume_monitor_get_type (void) G_GNUC_CONST;
40 #endif /* __G_NATIVE_VOLUME_MONITOR_H__ */