libgnomevfsmm 2.26.0
Gnome::Vfs::Volume Class Reference

#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< Driveget_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 Symbols

(Note that these are not member symbols.)

Glib::RefPtr< Gnome::Vfs::Volumewrap (GnomeVFSVolume *object, bool take_copy=false)
 A Glib::wrap() method for this object.
 

Member Typedef Documentation

◆ OpSlot

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);.

Constructor & Destructor Documentation

◆ ~Volume()

virtual Gnome::Vfs::Volume::~Volume ( )
virtual

Member Function Documentation

◆ compare()

static int Gnome::Vfs::Volume::compare ( const Glib::RefPtr< const Volume > & a,
const Glib::RefPtr< const Volume > & b )
static

◆ connect_to_server()

static void Gnome::Vfs::Volume::connect_to_server ( const Glib::ustring & uri,
const Glib::ustring & display_name,
const Glib::ustring & icon )
static

◆ eject()

void Gnome::Vfs::Volume::eject ( const OpSlot & slot)

◆ get_activation_uri()

Glib::ustring Gnome::Vfs::Volume::get_activation_uri ( ) const

◆ get_device_path()

Glib::ustring Gnome::Vfs::Volume::get_device_path ( ) const

◆ get_device_type()

DeviceType Gnome::Vfs::Volume::get_device_type ( ) const

◆ get_display_name()

Glib::ustring Gnome::Vfs::Volume::get_display_name ( ) const

◆ get_drive()

Glib::RefPtr< Drive > Gnome::Vfs::Volume::get_drive ( ) const

◆ get_filesystem_type()

Glib::ustring Gnome::Vfs::Volume::get_filesystem_type ( ) const

◆ get_hal_udi()

Glib::ustring Gnome::Vfs::Volume::get_hal_udi ( ) const

◆ get_icon()

Glib::ustring Gnome::Vfs::Volume::get_icon ( ) const

◆ get_id()

gulong Gnome::Vfs::Volume::get_id ( ) const

◆ get_volume_type()

VolumeType Gnome::Vfs::Volume::get_volume_type ( ) const

◆ gobj() [1/2]

GnomeVFSVolume * Gnome::Vfs::Volume::gobj ( )
inline

Provides access to the underlying C GObject.

◆ gobj() [2/2]

const GnomeVFSVolume * Gnome::Vfs::Volume::gobj ( ) const
inline

Provides access to the underlying C GObject.

◆ gobj_copy()

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.

◆ handles_trash()

bool Gnome::Vfs::Volume::handles_trash ( ) const

◆ is_mounted()

bool Gnome::Vfs::Volume::is_mounted ( ) const

◆ is_read_only()

bool Gnome::Vfs::Volume::is_read_only ( ) const

◆ is_user_visible()

bool Gnome::Vfs::Volume::is_user_visible ( ) const

◆ unmount()

void Gnome::Vfs::Volume::unmount ( const OpSlot & slot)

Friends And Related Symbol Documentation

◆ wrap()

Glib::RefPtr< Gnome::Vfs::Volume > wrap ( GnomeVFSVolume * object,
bool take_copy = false )
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse 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: