mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Replaced C-isms
This commit is contained in:
parent
c7c8fc92ea
commit
c7a8495d6e
@ -35,7 +35,7 @@
|
|||||||
#define EMOUNTD_INTERFACE "org.equinoxproject.Emountd"
|
#define EMOUNTD_INTERFACE "org.equinoxproject.Emountd"
|
||||||
#define EMOUNTD_OBJECT_PATH "/org/equinoxproject/Emountd"
|
#define EMOUNTD_OBJECT_PATH "/org/equinoxproject/Emountd"
|
||||||
|
|
||||||
struct _DeviceInfo {
|
struct DeviceInfo {
|
||||||
unsigned int udi_hash;
|
unsigned int udi_hash;
|
||||||
const char* label;
|
const char* label;
|
||||||
const char* mount_point;
|
const char* mount_point;
|
||||||
@ -48,15 +48,12 @@ struct _DeviceInfo {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* audio CD are special */
|
/* audio CD are special */
|
||||||
struct _DeviceAudioInfo {
|
struct DeviceAudioInfo {
|
||||||
unsigned int udi_hash;
|
unsigned int udi_hash;
|
||||||
const char* label;
|
const char* label;
|
||||||
const char* device_file;
|
const char* device_file;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _DeviceInfo DeviceInfo;
|
|
||||||
typedef struct _DeviceAudioInfo DeviceAudioInfo;
|
|
||||||
|
|
||||||
typedef edelib::list<unsigned int> UIntList;
|
typedef edelib::list<unsigned int> UIntList;
|
||||||
typedef edelib::list<unsigned int>::iterator UIntListIter;
|
typedef edelib::list<unsigned int>::iterator UIntListIter;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user