GDriveIface

Interface for creating GDrive implementations.

struct GDriveIface {}

Members

Variables

canEject
int function(GDrive* drive) canEject;
canPollForMedia
int function(GDrive* drive) canPollForMedia;
canStart
int function(GDrive* drive) canStart;
canStartDegraded
int function(GDrive* drive) canStartDegraded;
canStop
int function(GDrive* drive) canStop;
changed
void function(GDrive* drive) changed;
disconnected
void function(GDrive* drive) disconnected;
eject
void function(GDrive* drive, GMountUnmountFlags flags, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) eject;
ejectButton
void function(GDrive* drive) ejectButton;
ejectFinish
int function(GDrive* drive, GAsyncResult* result, GError** err) ejectFinish;
ejectWithOperation
void function(GDrive* drive, GMountUnmountFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) ejectWithOperation;
ejectWithOperationFinish
int function(GDrive* drive, GAsyncResult* result, GError** err) ejectWithOperationFinish;
enumerateIdentifiers
char** function(GDrive* drive) enumerateIdentifiers;
gIface
GTypeInterface gIface;

The parent interface.

getIcon
GIcon* function(GDrive* drive) getIcon;
getIdentifier
char* function(GDrive* drive, const(char)* kind) getIdentifier;
getName
char* function(GDrive* drive) getName;
getSortKey
const(char)* function(GDrive* drive) getSortKey;
getStartStopType
GDriveStartStopType function(GDrive* drive) getStartStopType;
getSymbolicIcon
GIcon* function(GDrive* drive) getSymbolicIcon;
getVolumes
GList* function(GDrive* drive) getVolumes;
hasMedia
int function(GDrive* drive) hasMedia;
hasVolumes
int function(GDrive* drive) hasVolumes;
isMediaCheckAutomatic
int function(GDrive* drive) isMediaCheckAutomatic;
isMediaRemovable
int function(GDrive* drive) isMediaRemovable;
isRemovable
int function(GDrive* drive) isRemovable;
pollForMedia
void function(GDrive* drive, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) pollForMedia;
pollForMediaFinish
int function(GDrive* drive, GAsyncResult* result, GError** err) pollForMediaFinish;
start
void function(GDrive* drive, GDriveStartFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) start;
startFinish
int function(GDrive* drive, GAsyncResult* result, GError** err) startFinish;
stop
void function(GDrive* drive, GMountUnmountFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) stop;
stopButton
void function(GDrive* drive) stopButton;
stopFinish
int function(GDrive* drive, GAsyncResult* result, GError** err) stopFinish;