Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Gnome::Vfs::Volume Class Reference

#include <volume.h>

Inheritance diagram for Gnome::Vfs::Volume:

Object List of all members.

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
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

int compare (const Glib::RefPtr< const Volume > &a, const Glib::RefPtr< const Volume > &b)
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::Volumewrap (GnomeVFSVolume *object, bool take_copy=false)

Member Typedef Documentation

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


Constructor & Destructor Documentation

virtual Gnome::Vfs::Volume::~Volume  )  [virtual]
 


Member Function Documentation

int Gnome::Vfs::Volume::compare const Glib::RefPtr< const Volume > &  a,
const Glib::RefPtr< const Volume > &  b
[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_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  ) 
 


Friends And Related Function Documentation

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

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:
Generated on Mon Mar 7 11:19:50 2005 for libgnomevfsmm by  doxygen 1.3.9.1