Replaced C-isms

This commit is contained in:
Sanel Zukan 2009-02-26 11:28:01 +00:00
parent c7c8fc92ea
commit c7a8495d6e

View File

@ -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;