summaryrefslogtreecommitdiff
path: root/gio/gvolumemonitor.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2007-12-19 16:08:55 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-12-19 16:08:55 +0000
commit28d1c8e0ad86253c84de1ee948a338eec98ae701 (patch)
tree34b7d859d539dbdc242cb8d509fdcda9d4d177f9 /gio/gvolumemonitor.h
parentde9c37dd91ea2ce66f58ea7686b8e73ab9795cb8 (diff)
downloadglib-28d1c8e0ad86253c84de1ee948a338eec98ae701.tar.gz
Make g_io_modules_load_all_in_directory not unuse loaded modules so that
2007-12-19 Alexander Larsson <alexl@redhat.com> * giomodule.c: Make g_io_modules_load_all_in_directory not unuse loaded modules so that users of it can do stuff before unloading. Init internal "module" types. Initialize static prio and name for types so that we don't have to load modules to get it. * gnativevolumemonitor.h: * gvolumemonitor.h: Move is_supported to parent class so that non-native monitors can avoid being initialized too. (For instance GDaemonVolumeMonitor if we're not using GDaemonVfs.) * glocaldirectorymonitor.[ch]: * glocalfilemonitor.[ch]: * gunionvolumemonitor.c: * gunixvolumemonitor.c: * gvfs.c: Find plugins using the static prio+name to avoid unnecessarily loading the modules. svn path=/trunk/; revision=6159
Diffstat (limited to 'gio/gvolumemonitor.h')
-rw-r--r--gio/gvolumemonitor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gio/gvolumemonitor.h b/gio/gvolumemonitor.h
index 726627828..45fb6b793 100644
--- a/gio/gvolumemonitor.h
+++ b/gio/gvolumemonitor.h
@@ -88,6 +88,8 @@ struct _GVolumeMonitorClass {
/* Vtable */
+ gboolean (*is_supported) (void);
+
GList * (*get_connected_drives) (GVolumeMonitor *volume_monitor);
GList * (*get_volumes) (GVolumeMonitor *volume_monitor);
GList * (*get_mounts) (GVolumeMonitor *volume_monitor);
@@ -101,6 +103,7 @@ struct _GVolumeMonitorClass {
GVolume * (*adopt_orphan_mount) (GMount *mount);
+
/*< private >*/
/* Padding for future expansion */
void (*_g_reserved1) (void);