|
Public Types |
typedef sigc::slot< void,
bool, const Glib::ustring &,
const Glib::ustring & > | OpSlot |
| For instance, void on_operation(bool succeeded, const Glib::ustring& error, const Glib::ustring& detailed_error);.
|
Public Member Functions |
virtual | ~Drive () |
GnomeVFSDrive * | gobj () |
| Provides access to the underlying C GObject.
|
const GnomeVFSDrive * | gobj () const |
| Provides access to the underlying C GObject.
|
GnomeVFSDrive * | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
gulong | get_id () const |
DeviceType | get_device_type () const |
Glib::RefPtr< Volume > | get_mounted_volume () |
Glib::RefPtr< const Volume > | get_mounted_volume () const |
Glib::ustring | get_device_path () const |
Glib::ustring | get_activation_uri () const |
Glib::ustring | get_display_name () const |
Glib::ustring | get_icon () const |
Glib::ustring | get_hal_udi () const |
bool | is_user_visible () const |
bool | is_connected () const |
bool | is_mounted () const |
void | mount (const OpSlot &slot) |
void | unmount (const OpSlot &slot) |
void | eject (const OpSlot &slot) |
Glib::SignalProxy1< void,
const Glib::RefPtr< Volume > & > | signal_mounted () |
Glib::SignalProxy1< void,
const Glib::RefPtr< Volume > & > | signal_pre_unmount () |
Glib::SignalProxy1< void,
const Glib::RefPtr< Volume > & > | signal_unmounted () |
Static Public Member Functions |
int | compare (const Glib::RefPtr< const Drive > &a, const Glib::RefPtr< const Drive > &b) |
Protected Member Functions |
virtual void | on_mounted (const Glib::RefPtr< Volume > &volume) |
virtual void | on_pre_unmount (const Glib::RefPtr< Volume > &volume) |
virtual void | on_unmounted (const Glib::RefPtr< Volume > &volume) |
Related Functions |
(Note that these are not member functions.)
|
Glib::RefPtr< Gnome::Vfs::Drive > | wrap (GnomeVFSDrive *object, bool take_copy=false) |