3#ifndef _LIBGNOMEVFSMM_VOLUME_H
4#define _LIBGNOMEVFSMM_VOLUME_H
29#ifndef DOXYGEN_SHOULD_SKIP_THIS
30typedef struct _GnomeVFSVolume GnomeVFSVolume;
31typedef struct _GnomeVFSVolumeClass GnomeVFSVolumeClass;
39{
class Volume_Class; }
54#ifndef DOXYGEN_SHOULD_SKIP_THIS
57 typedef Volume CppObjectType;
58 typedef Volume_Class CppClassType;
59 typedef GnomeVFSVolume BaseObjectType;
60 typedef GnomeVFSVolumeClass BaseClassType;
62private:
friend class Volume_Class;
63 static CppClassType volume_class_;
71 explicit Volume(
const Glib::ConstructParams& construct_params);
72 explicit Volume(GnomeVFSVolume* castitem);
79#ifndef DOXYGEN_SHOULD_SKIP_THIS
80 static GType get_type() G_GNUC_CONST;
81 static GType get_base_type() G_GNUC_CONST;
85 GnomeVFSVolume*
gobj() {
return reinterpret_cast<GnomeVFSVolume*
>(gobject_); }
88 const GnomeVFSVolume*
gobj()
const {
return reinterpret_cast<GnomeVFSVolume*
>(gobject_); }
101 typedef sigc::slot<void, bool, Glib::ustring, Glib::ustring>
OpSlot;
133 static int compare(
const Glib::RefPtr<const Volume>& a,
const Glib::RefPtr<const Volume>& b);
145 static void connect_to_server(
const Glib::ustring& uri,
const Glib::ustring& display_name,
const Glib::ustring& icon);
155#ifdef GLIBMM_VFUNCS_ENABLED
160#ifdef GLIBMM_VFUNCS_ENABLED
164#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
185 Glib::RefPtr<Gnome::Vfs::Volume>
wrap(GnomeVFSVolume*
object,
bool take_copy =
false);
Glib::ustring get_filesystem_type() const
bool is_read_only() const
GnomeVFSVolume * gobj()
Provides access to the underlying C GObject.
Definition: volume.h:85
DeviceType get_device_type() const
Glib::ustring get_icon() const
const GnomeVFSVolume * gobj() const
Provides access to the underlying C GObject.
Definition: volume.h:88
Glib::ustring get_device_path() const
static int compare(const Glib::RefPtr< const Volume > &a, const Glib::RefPtr< const Volume > &b)
VolumeType get_volume_type() const
GnomeVFSVolume * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
Glib::RefPtr< Drive > get_drive() const
Glib::ustring get_activation_uri() const
void eject(const OpSlot &slot)
Glib::ustring get_hal_udi() const
void unmount(const OpSlot &slot)
sigc::slot< void, bool, Glib::ustring, Glib::ustring > OpSlot
For instance, void on_operation(bool succeeded, const Glib::ustring& error, const Glib::ustring& deta...
Definition: volume.h:101
Glib::ustring get_display_name() const
bool handles_trash() const
Glib::RefPtr< Gnome::Vfs::Volume > wrap(GnomeVFSVolume *object, bool take_copy=false)
A Glib::wrap() method for this object.
bool is_user_visible() const
static void connect_to_server(const Glib::ustring &uri, const Glib::ustring &display_name, const Glib::ustring &icon)
Definition: address.h:120