More work with regards to imager
This commit is contained in:
@ -50,6 +50,19 @@ struct _Ecdb_Project_Info
|
||||
BurnDriveStatus stat;
|
||||
};
|
||||
|
||||
/* Typecast a pointer to an Ecdb_Source */
|
||||
#define ECDB_SOURCE(src) ((Ecdb_Source *) src)
|
||||
|
||||
typedef struct _Ecdb_Source Ecdb_Source;
|
||||
struct _Ecdb_Source
|
||||
{
|
||||
const char *dst;
|
||||
unsigned char rec:1;
|
||||
unsigned char num_children;
|
||||
Ecdb_Source **children;
|
||||
IsoNode *node;
|
||||
};
|
||||
|
||||
/* Typecast a pointer to an Ecdb_Project */
|
||||
#define ECDB_PROJECT(proj) ((Ecdb_Project *) proj)
|
||||
|
||||
@ -60,7 +73,7 @@ struct _Ecdb_Burn_Project
|
||||
Ecdb_Project proj;
|
||||
|
||||
/* Files are important here */
|
||||
Ecore_List *files;
|
||||
Ecdb_Source *files;
|
||||
|
||||
/* Ids */
|
||||
char *volume_id;
|
||||
@ -111,17 +124,4 @@ struct _Ecdb_Erase_Project
|
||||
/* Typecast a pointer to an Ecdb_Erase_Project */
|
||||
#define ECDB_ERASE(proj) ((Ecdb_Erase_Project *) proj)
|
||||
|
||||
/* Typecast a pointer to an Ecdb_Source */
|
||||
#define ECDB_SOURCE(src) ((Ecdb_Source *) src)
|
||||
|
||||
typedef struct _Ecdb_Source Ecdb_Source;
|
||||
struct _Ecdb_Source
|
||||
{
|
||||
const char *dst;
|
||||
unsigned char rec:1;
|
||||
unsigned char num_children;
|
||||
Ecdb_Source **children;
|
||||
IsoNode *node;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user