#include <volume.h>
Inheritance diagram for Gnome::Vfs::Volume:
Public Types | |
typedef sigc::slot< void, bool, Glib::ustring, Glib::ustring > | OpSlot |
For instance, void on_operation(bool succeeded, const Glib::ustring& error, const Glib::ustring& detailed_error);. | |
Public Member Functions | |
virtual | ~Volume () |
GnomeVFSVolume * | gobj () |
Provides access to the underlying C GObject. | |
const GnomeVFSVolume * | gobj () const |
Provides access to the underlying C GObject. | |
GnomeVFSVolume * | 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 |
VolumeType | get_volume_type () const |
DeviceType | get_device_type () const |
Glib::RefPtr< Drive > | get_drive () const |
Glib::ustring | get_device_path () const |
Glib::ustring | get_activation_uri () const |
Glib::ustring | get_filesystem_type () 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_read_only () const |
bool | is_mounted () const |
bool | handles_trash () const |
void | unmount (const OpSlot &slot) |
void | eject (const OpSlot &slot) |
Static Public Member Functions | |
static int | compare (const Glib::RefPtr< const Volume > &a, const Glib::RefPtr< const Volume > &b) |
static void | connect_to_server (const Glib::ustring &uri, const Glib::ustring &display_name, const Glib::ustring &icon) |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< Gnome::Vfs::Volume > | wrap (GnomeVFSVolume *object, bool take_copy=false) |
typedef sigc::slot<void, bool, Glib::ustring, Glib::ustring> Gnome::Vfs::Volume::OpSlot |
For instance, void on_operation(bool succeeded, const Glib::ustring& error, const Glib::ustring& detailed_error);.
virtual Gnome::Vfs::Volume::~Volume | ( | ) | [virtual] |
static int Gnome::Vfs::Volume::compare | ( | const Glib::RefPtr< const Volume > & | a, | |
const Glib::RefPtr< const Volume > & | b | |||
) | [static] |
static void Gnome::Vfs::Volume::connect_to_server | ( | const Glib::ustring & | uri, | |
const Glib::ustring & | display_name, | |||
const Glib::ustring & | icon | |||
) | [static] |
void Gnome::Vfs::Volume::eject | ( | const OpSlot & | slot | ) |
Glib::ustring Gnome::Vfs::Volume::get_activation_uri | ( | ) | const |
Glib::ustring Gnome::Vfs::Volume::get_device_path | ( | ) | const |
DeviceType Gnome::Vfs::Volume::get_device_type | ( | ) | const |
Glib::ustring Gnome::Vfs::Volume::get_display_name | ( | ) | const |
Glib::RefPtr<Drive> Gnome::Vfs::Volume::get_drive | ( | ) | const |
Glib::ustring Gnome::Vfs::Volume::get_filesystem_type | ( | ) | const |
Glib::ustring Gnome::Vfs::Volume::get_hal_udi | ( | ) | const |
Glib::ustring Gnome::Vfs::Volume::get_icon | ( | ) | const |
gulong Gnome::Vfs::Volume::get_id | ( | ) | const |
VolumeType Gnome::Vfs::Volume::get_volume_type | ( | ) | const |
const GnomeVFSVolume* Gnome::Vfs::Volume::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
GnomeVFSVolume* Gnome::Vfs::Volume::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
GnomeVFSVolume* Gnome::Vfs::Volume::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
bool Gnome::Vfs::Volume::handles_trash | ( | ) | const |
bool Gnome::Vfs::Volume::is_mounted | ( | ) | const |
bool Gnome::Vfs::Volume::is_read_only | ( | ) | const |
bool Gnome::Vfs::Volume::is_user_visible | ( | ) | const |
void Gnome::Vfs::Volume::unmount | ( | const OpSlot & | slot | ) |
Glib::RefPtr< Gnome::Vfs::Volume > wrap | ( | GnomeVFSVolume * | 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. |