#include <drive.h>
|
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);. More...
|
|
|
static int | compare (const Glib::RefPtr< const Drive > &a, const Glib::RefPtr< const Drive > &b) |
|
|
(Note that these are not member functions.)
|
Glib::RefPtr< Gnome::Vfs::Drive > | wrap (GnomeVFSDrive *object, bool take_copy=false) |
| A Glib::wrap() method for this object. More...
|
|
◆ OpSlot
For instance, void on_operation(bool succeeded, const Glib::ustring& error, const Glib::ustring& detailed_error);.
◆ ~Drive()
virtual Gnome::Vfs::Drive::~Drive |
( |
| ) |
|
|
virtual |
◆ compare()
static int Gnome::Vfs::Drive::compare |
( |
const Glib::RefPtr< const Drive > & |
a, |
|
|
const Glib::RefPtr< const Drive > & |
b |
|
) |
| |
|
static |
◆ eject()
void Gnome::Vfs::Drive::eject |
( |
const OpSlot & |
slot | ) |
|
◆ get_activation_uri()
Glib::ustring Gnome::Vfs::Drive::get_activation_uri |
( |
| ) |
const |
◆ get_device_path()
Glib::ustring Gnome::Vfs::Drive::get_device_path |
( |
| ) |
const |
◆ get_device_type()
DeviceType Gnome::Vfs::Drive::get_device_type |
( |
| ) |
const |
◆ get_display_name()
Glib::ustring Gnome::Vfs::Drive::get_display_name |
( |
| ) |
const |
◆ get_hal_udi()
Glib::ustring Gnome::Vfs::Drive::get_hal_udi |
( |
| ) |
const |
◆ get_icon()
Glib::ustring Gnome::Vfs::Drive::get_icon |
( |
| ) |
const |
◆ get_id()
gulong Gnome::Vfs::Drive::get_id |
( |
| ) |
const |
◆ get_mounted_volume() [1/2]
Glib::RefPtr<Volume> Gnome::Vfs::Drive::get_mounted_volume |
( |
| ) |
|
◆ get_mounted_volume() [2/2]
Glib::RefPtr<const Volume> Gnome::Vfs::Drive::get_mounted_volume |
( |
| ) |
const |
◆ get_mounted_volumes() [1/2]
Glib::ListHandle< Glib::RefPtr<Volume> > Gnome::Vfs::Drive::get_mounted_volumes |
( |
| ) |
|
◆ get_mounted_volumes() [2/2]
Glib::ListHandle< Glib::RefPtr<const Volume> > Gnome::Vfs::Drive::get_mounted_volumes |
( |
| ) |
const |
◆ gobj() [1/2]
GnomeVFSDrive* Gnome::Vfs::Drive::gobj |
( |
| ) |
|
|
inline |
Provides access to the underlying C GObject.
◆ gobj() [2/2]
const GnomeVFSDrive* Gnome::Vfs::Drive::gobj |
( |
| ) |
const |
|
inline |
Provides access to the underlying C GObject.
◆ gobj_copy()
GnomeVFSDrive* Gnome::Vfs::Drive::gobj_copy |
( |
| ) |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
◆ is_connected()
bool Gnome::Vfs::Drive::is_connected |
( |
| ) |
const |
◆ is_mounted()
bool Gnome::Vfs::Drive::is_mounted |
( |
| ) |
const |
◆ is_user_visible()
bool Gnome::Vfs::Drive::is_user_visible |
( |
| ) |
const |
◆ mount()
void Gnome::Vfs::Drive::mount |
( |
const OpSlot & |
slot | ) |
|
◆ on_mounted()
virtual void Gnome::Vfs::Drive::on_mounted |
( |
const Glib::RefPtr< Volume > & |
volume | ) |
|
|
protectedvirtual |
◆ on_pre_unmount()
virtual void Gnome::Vfs::Drive::on_pre_unmount |
( |
const Glib::RefPtr< Volume > & |
volume | ) |
|
|
protectedvirtual |
◆ on_unmounted()
virtual void Gnome::Vfs::Drive::on_unmounted |
( |
const Glib::RefPtr< Volume > & |
volume | ) |
|
|
protectedvirtual |
◆ signal_mounted()
Glib::SignalProxy1< void,const Glib::RefPtr<Volume>& > Gnome::Vfs::Drive::signal_mounted |
( |
| ) |
|
- Prototype:
void on_my_mounted(const Glib::RefPtr<Volume>& volume)
◆ signal_pre_unmount()
Glib::SignalProxy1< void,const Glib::RefPtr<Volume>& > Gnome::Vfs::Drive::signal_pre_unmount |
( |
| ) |
|
- Prototype:
void on_my_pre_unmount(const Glib::RefPtr<Volume>& volume)
◆ signal_unmounted()
Glib::SignalProxy1< void,const Glib::RefPtr<Volume>& > Gnome::Vfs::Drive::signal_unmounted |
( |
| ) |
|
- Prototype:
void on_my_unmounted(const Glib::RefPtr<Volume>& volume)
◆ unmount()
void Gnome::Vfs::Drive::unmount |
( |
const OpSlot & |
slot | ) |
|
◆ wrap()
Glib::RefPtr< Gnome::Vfs::Drive > wrap |
( |
GnomeVFSDrive * |
object, |
|
|
bool |
take_copy = false |
|
) |
| |
|
related |
A Glib::wrap() method for this object.
- Parameters
-
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. |
- Returns
- A C++ instance that wraps this C instance.
The documentation for this class was generated from the following file: