#include <volume-monitor.h>
Inheritance diagram for Gnome::Vfs::VolumeMonitor:
Public Member Functions | |
virtual | ~VolumeMonitor () |
GnomeVFSVolumeMonitor * | gobj () |
Provides access to the underlying C GObject. | |
const GnomeVFSVolumeMonitor * | gobj () const |
Provides access to the underlying C GObject. | |
GnomeVFSVolumeMonitor * | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Glib::ListHandle< Glib::RefPtr< Volume > > | get_mounted_volumes () |
Glib::ListHandle< Glib::RefPtr< const Volume > > | get_mounted_volumes () const |
Glib::ListHandle< Glib::RefPtr< Drive > > | get_connected_drives () |
Glib::ListHandle< Glib::RefPtr< const Drive > > | get_connected_drives () const |
Glib::RefPtr< Volume > | get_volume (const Glib::ustring &path) |
Glib::RefPtr< const Volume > | get_volume (const Glib::ustring &path) const |
Glib::RefPtr< Volume > | get_volume (gulong id) |
Glib::RefPtr< const Volume > | get_volume (gulong id) const |
Glib::RefPtr< Drive > | get_drive (gulong id) |
Glib::RefPtr< const Drive > | get_drive (gulong id) const |
Glib::SignalProxy1< void, const Glib::RefPtr< Volume > & > | signal_volume_mounted () |
Glib::SignalProxy1< void, const Glib::RefPtr< Volume > & > | signal_volume_pre_unmount () |
Glib::SignalProxy1< void, const Glib::RefPtr< Volume > & > | signal_volume_unmounted () |
Glib::SignalProxy1< void, const Glib::RefPtr< Drive > & > | signal_drive_connected () |
Glib::SignalProxy1< void, const Glib::RefPtr< Drive > & > | signal_drive_disconnected () |
Static Public Member Functions | |
static Glib::RefPtr< VolumeMonitor > | create () |
Protected Member Functions | |
virtual void | on_volume_mounted (const Glib::RefPtr< Volume > &volume) |
virtual void | on_volume_pre_unmount (const Glib::RefPtr< Volume > &volume) |
virtual void | on_volume_unmounted (const Glib::RefPtr< Volume > &volume) |
virtual void | on_drive_connected (const Glib::RefPtr< Drive > &drive) |
virtual void | on_drive_disconnected (const Glib::RefPtr< Drive > &drive) |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gnome::Vfs::VolumeMonitor > | wrap (GnomeVFSVolumeMonitor *object, bool take_copy=false) |
virtual Gnome::Vfs::VolumeMonitor::~VolumeMonitor | ( | ) | [virtual] |
static Glib::RefPtr<VolumeMonitor> Gnome::Vfs::VolumeMonitor::create | ( | ) | [static] |
Glib::ListHandle< Glib::RefPtr<const Drive> > Gnome::Vfs::VolumeMonitor::get_connected_drives | ( | ) | const |
Glib::ListHandle< Glib::RefPtr<Drive> > Gnome::Vfs::VolumeMonitor::get_connected_drives | ( | ) |
Glib::RefPtr<const Drive> Gnome::Vfs::VolumeMonitor::get_drive | ( | gulong | id | ) | const |
Glib::RefPtr<Drive> Gnome::Vfs::VolumeMonitor::get_drive | ( | gulong | id | ) |
Glib::ListHandle< Glib::RefPtr<const Volume> > Gnome::Vfs::VolumeMonitor::get_mounted_volumes | ( | ) | const |
Glib::ListHandle< Glib::RefPtr<Volume> > Gnome::Vfs::VolumeMonitor::get_mounted_volumes | ( | ) |
Glib::RefPtr<const Volume> Gnome::Vfs::VolumeMonitor::get_volume | ( | gulong | id | ) | const |
Glib::RefPtr<Volume> Gnome::Vfs::VolumeMonitor::get_volume | ( | gulong | id | ) |
Glib::RefPtr<const Volume> Gnome::Vfs::VolumeMonitor::get_volume | ( | const Glib::ustring & | path | ) | const |
Glib::RefPtr<Volume> Gnome::Vfs::VolumeMonitor::get_volume | ( | const Glib::ustring & | path | ) |
const GnomeVFSVolumeMonitor* Gnome::Vfs::VolumeMonitor::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
GnomeVFSVolumeMonitor* Gnome::Vfs::VolumeMonitor::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
GnomeVFSVolumeMonitor* Gnome::Vfs::VolumeMonitor::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
virtual void Gnome::Vfs::VolumeMonitor::on_drive_connected | ( | const Glib::RefPtr< Drive > & | drive | ) | [protected, virtual] |
virtual void Gnome::Vfs::VolumeMonitor::on_drive_disconnected | ( | const Glib::RefPtr< Drive > & | drive | ) | [protected, virtual] |
virtual void Gnome::Vfs::VolumeMonitor::on_volume_mounted | ( | const Glib::RefPtr< Volume > & | volume | ) | [protected, virtual] |
virtual void Gnome::Vfs::VolumeMonitor::on_volume_pre_unmount | ( | const Glib::RefPtr< Volume > & | volume | ) | [protected, virtual] |
virtual void Gnome::Vfs::VolumeMonitor::on_volume_unmounted | ( | const Glib::RefPtr< Volume > & | volume | ) | [protected, virtual] |
Glib::SignalProxy1< void,const Glib::RefPtr<Drive>& > Gnome::Vfs::VolumeMonitor::signal_drive_connected | ( | ) |
Glib::SignalProxy1< void,const Glib::RefPtr<Drive>& > Gnome::Vfs::VolumeMonitor::signal_drive_disconnected | ( | ) |
Glib::SignalProxy1< void,const Glib::RefPtr<Volume>& > Gnome::Vfs::VolumeMonitor::signal_volume_mounted | ( | ) |
Glib::SignalProxy1< void,const Glib::RefPtr<Volume>& > Gnome::Vfs::VolumeMonitor::signal_volume_pre_unmount | ( | ) |
Glib::SignalProxy1< void,const Glib::RefPtr<Volume>& > Gnome::Vfs::VolumeMonitor::signal_volume_unmounted | ( | ) |
Glib::RefPtr< Gnome::Vfs::VolumeMonitor > wrap | ( | GnomeVFSVolumeMonitor * | object, | |
bool | take_copy = false | |||
) | [related] |
object | The C instance | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |