summaryrefslogtreecommitdiff
path: root/gio/src/volumemonitor.hg
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2008-02-03 22:37:21 +0000
committerMurray Cumming <murrayc@src.gnome.org>2008-02-03 22:37:21 +0000
commit28fb124f4f79b068a0290ee3991b33c8896108ae (patch)
tree16d5a8a552de66e4acd50a6555468728e2da318b /gio/src/volumemonitor.hg
parentaaccdc2ace9a0893f5775007f601f339d4f96255 (diff)
downloadglibmm-28fb124f4f79b068a0290ee3991b33c8896108ae.tar.gz
Added types. Regenerated.
2008-02-03 Murray Cumming <murrayc@murrayc.com> * tools/extra_defs_gen/generate_defs_gio.cc: Added types. * gio/src/gio_signals.defs: Regenerated. * tools/m4/convert_gio.m4: * gio/src/drive.hg: * gio/src/filterinputstream.hg: * gio/src/filteroutputstream.hg: * gio/src/mount.hg: * gio/src/mountoperation.hg: * gio/src/volume.hg: * gio/src/volumemonitor.hg: Added signals and properties. * gio/src/file.ccg: * gio/src/file.hg: Added query_filesystem_info() without a cancellable. svn path=/trunk/; revision=573
Diffstat (limited to 'gio/src/volumemonitor.hg')
-rw-r--r--gio/src/volumemonitor.hg19
1 files changed, 17 insertions, 2 deletions
diff --git a/gio/src/volumemonitor.hg b/gio/src/volumemonitor.hg
index c813c198..a28dd9a2 100644
--- a/gio/src/volumemonitor.hg
+++ b/gio/src/volumemonitor.hg
@@ -57,8 +57,23 @@ public:
_WRAP_METHOD(static Glib::RefPtr<Volume> adopt_orphan_mount(const Glib::RefPtr<Mount>& mount), g_volume_monitor_adopt_orphan_mount)
-
- //TODO: signals, vfuncs
+#m4 _CONVERSION(`GVolume*',`const Glib::RefPtr<Volume>&',`Glib::wrap($3, true)')
+ _WRAP_SIGNAL(void volume_added(const Glib::RefPtr<Volume>& volume), volume_added)
+ _WRAP_SIGNAL(void volume_removed(const Glib::RefPtr<Volume>& volume), volume_removed)
+ _WRAP_SIGNAL(void volume_changed(const Glib::RefPtr<Volume>& volume), volume_changed)
+
+#m4 _CONVERSION(`GMount*',`const Glib::RefPtr<Mount>&',`Glib::wrap($3, true)')
+ _WRAP_SIGNAL(void mount_added(const Glib::RefPtr<Mount>& mount), mount_added)
+ _WRAP_SIGNAL(void mount_removed(const Glib::RefPtr<Mount>& mount), mount_removed)
+ _WRAP_SIGNAL(void mount_pre_unmount(const Glib::RefPtr<Mount>& mount), mount_pre_unmount)
+ _WRAP_SIGNAL(void mount_changed(const Glib::RefPtr<Mount>& mount), mount_changed)
+
+#m4 _CONVERSION(`GDrive*',`const Glib::RefPtr<Drive>&',`Glib::wrap($3, true)')
+ _WRAP_SIGNAL(void drive_connected(const Glib::RefPtr<Drive>& drive), drive_connected)
+ _WRAP_SIGNAL(void drive_disconnected(const Glib::RefPtr<Drive>& drive), drive_disconnected)
+ _WRAP_SIGNAL(void drive_changed(const Glib::RefPtr<Drive>& drive), drive_changed)
+
+ //TODO: vfuncs
//There are no properties.
};