forked from enlightenment/enlightenment
add enum for operation type to volumes
SVN revision: 55863
This commit is contained in:
parent
6221397e99
commit
c554a3740d
|
@ -18,6 +18,14 @@ typedef struct _E_Storage E_Storage;
|
||||||
typedef struct _E_Volume E_Volume;
|
typedef struct _E_Volume E_Volume;
|
||||||
typedef struct _E_Fm2_Mount E_Fm2_Mount;
|
typedef struct _E_Fm2_Mount E_Fm2_Mount;
|
||||||
|
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
E_VOLUME_OP_TYPE_NONE,
|
||||||
|
E_VOLUME_OP_TYPE_MOUNT,
|
||||||
|
E_VOLUME_OP_TYPE_UNMOUNT,
|
||||||
|
E_VOLUME_OP_TYPE_EJECT
|
||||||
|
} E_Volume_Op_Type;
|
||||||
|
|
||||||
struct _E_Storage
|
struct _E_Storage
|
||||||
{
|
{
|
||||||
int type;
|
int type;
|
||||||
|
@ -71,6 +79,7 @@ struct _E_Volume
|
||||||
Eina_Bool auto_unmount : 1; // unmount, when last associated fm window closed
|
Eina_Bool auto_unmount : 1; // unmount, when last associated fm window closed
|
||||||
Eina_Bool first_time; // volume discovery in init sequence
|
Eina_Bool first_time; // volume discovery in init sequence
|
||||||
Ecore_Timer *guard; // operation guard timer
|
Ecore_Timer *guard; // operation guard timer
|
||||||
|
E_Volume_Op_Type optype;
|
||||||
#if @DBUS_MOUNT_CONFIG@
|
#if @DBUS_MOUNT_CONFIG@
|
||||||
DBusPendingCall *op; // d-bus call handle
|
DBusPendingCall *op; // d-bus call handle
|
||||||
void *prop_handler;
|
void *prop_handler;
|
||||||
|
|
Loading…
Reference in New Issue