gio-2.0 Reference Manual

Synopsis

public interface Volume {
    public    signal void               changed                   (  )  ;
    public    signal void               removed                   (  )  ;


    public    void                      mount                     ( MountMountFlags     flags,
                                                                    MountOperation      mount_operation,
                                                                    Cancellable?        cancellable,
                                                                    AsyncReadyCallback  callback ) ;
    public    abstract bool             can_eject                 (  ) ;
    public    abstract bool             can_mount                 (  ) ;
    public    abstract void             eject                     ( MountUnmountFlags   flags,
                                                                    Cancellable?        cancellable,
                                                                    AsyncReadyCallback  callback ) ;
    public    abstract bool             eject_finish              ( AsyncResult         _result ) 
                                                             throws GLib.Error;
    public    abstract weak string      enumerate_identifiers     (  ) ;
    public    abstract weak Drive       get_drive                 (  ) ;
    public    abstract weak Icon        get_icon                  (  ) ;
    public    abstract weak string      get_identifier            ( string              kind ) ;
    public    abstract weak Mount       get_mount                 (  ) ;
    public    abstract weak string      get_name                  (  ) ;
    public    abstract weak string      get_uuid                  (  ) ;
    public    abstract bool             mount_finish              ( AsyncResult         _result ) 
                                                             throws GLib.Error;
    public    abstract void             mount_fn                  ( MountMountFlags     flags,
                                                                    MountOperation      mount_operation,
                                                                    Cancellable?        cancellable,
                                                                    AsyncReadyCallback  callback ) ;
    public    abstract bool             should_automount          (  ) ;
}

Description

Details

Signal Details

changed
    public    signal void               changed                   (  )  ;		

removed
    public    signal void               removed                   (  )  ;		

Property Details

Method Details

mount ()
    public    void                      mount                     ( MountMountFlags     flags,
                                                                    MountOperation      mount_operation,
                                                                    Cancellable?        cancellable,
                                                                    AsyncReadyCallback  callback ) ;		

can_eject ()
    public    abstract bool             can_eject                 (  ) ;		

can_mount ()
    public    abstract bool             can_mount                 (  ) ;		

eject ()
    public    abstract void             eject                     ( MountUnmountFlags   flags,
                                                                    Cancellable?        cancellable,
                                                                    AsyncReadyCallback  callback ) ;		

eject_finish ()
    public    abstract bool             eject_finish              ( AsyncResult         _result ) 
                                                             throws GLib.Error;		

enumerate_identifiers ()
    public    abstract weak string      enumerate_identifiers     (  ) ;		

get_drive ()
    public    abstract weak Drive       get_drive                 (  ) ;		

get_icon ()
    public    abstract weak Icon        get_icon                  (  ) ;		

get_identifier ()
    public    abstract weak string      get_identifier            ( string              kind ) ;		

get_mount ()
    public    abstract weak Mount       get_mount                 (  ) ;		

get_name ()
    public    abstract weak string      get_name                  (  ) ;		

get_uuid ()
    public    abstract weak string      get_uuid                  (  ) ;		

mount_finish ()
    public    abstract bool             mount_finish              ( AsyncResult         _result ) 
                                                             throws GLib.Error;		

mount_fn ()
    public    abstract void             mount_fn                  ( MountMountFlags     flags,
                                                                    MountOperation      mount_operation,
                                                                    Cancellable?        cancellable,
                                                                    AsyncReadyCallback  callback ) ;		

should_automount ()
    public    abstract bool             should_automount          (  ) ;		


Created by Valadoc