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

Gnome::Vfs::Drive Class Reference

#include <drive.h>

Inheritance diagram for Gnome::Vfs::Drive:

Object List of all members.

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< Volumeget_mounted_volume ()
Glib::RefPtr< const Volumeget_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::Drivewrap (GnomeVFSDrive *object, bool take_copy=false)

Member Typedef Documentation

typedef sigc::slot<void, bool, const Glib::ustring&, const Glib::ustring&> Gnome::Vfs::Drive::OpSlot
 

For instance, void on_operation(bool succeeded, const Glib::ustring& error, const Glib::ustring& detailed_error);.


Constructor & Destructor Documentation

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


Member Function Documentation

int Gnome::Vfs::Drive::compare const Glib::RefPtr< const Drive > &  a,
const Glib::RefPtr< const Drive > &  b
[static]
 

void Gnome::Vfs::Drive::eject const OpSlot slot  ) 
 

Glib::ustring Gnome::Vfs::Drive::get_activation_uri  )  const
 

Glib::ustring Gnome::Vfs::Drive::get_device_path  )  const
 

DeviceType Gnome::Vfs::Drive::get_device_type  )  const
 

Glib::ustring Gnome::Vfs::Drive::get_display_name  )  const
 

Glib::ustring Gnome::Vfs::Drive::get_hal_udi  )  const
 

Glib::ustring Gnome::Vfs::Drive::get_icon  )  const
 

gulong Gnome::Vfs::Drive::get_id  )  const
 

Glib::RefPtr<const Volume> Gnome::Vfs::Drive::get_mounted_volume  )  const
 

Glib::RefPtr<Volume> Gnome::Vfs::Drive::get_mounted_volume  ) 
 

const GnomeVFSDrive* Gnome::Vfs::Drive::gobj  )  const [inline]
 

Provides access to the underlying C GObject.

GnomeVFSDrive* Gnome::Vfs::Drive::gobj  )  [inline]
 

Provides access to the underlying C GObject.

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.

bool Gnome::Vfs::Drive::is_connected  )  const
 

bool Gnome::Vfs::Drive::is_mounted  )  const
 

bool Gnome::Vfs::Drive::is_user_visible  )  const
 

void Gnome::Vfs::Drive::mount const OpSlot slot  ) 
 

virtual void Gnome::Vfs::Drive::on_mounted const Glib::RefPtr< Volume > &  volume  )  [protected, virtual]
 

virtual void Gnome::Vfs::Drive::on_pre_unmount const Glib::RefPtr< Volume > &  volume  )  [protected, virtual]
 

virtual void Gnome::Vfs::Drive::on_unmounted const Glib::RefPtr< Volume > &  volume  )  [protected, virtual]
 

Glib::SignalProxy1< void,const Glib::RefPtr<Volume>& > Gnome::Vfs::Drive::signal_mounted  ) 
 

Glib::SignalProxy1< void,const Glib::RefPtr<Volume>& > Gnome::Vfs::Drive::signal_pre_unmount  ) 
 

Glib::SignalProxy1< void,const Glib::RefPtr<Volume>& > Gnome::Vfs::Drive::signal_unmounted  ) 
 

void Gnome::Vfs::Drive::unmount const OpSlot slot  ) 
 


Friends And Related Function Documentation

Glib::RefPtr< Gnome::Vfs::Drive > wrap GnomeVFSDrive *  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