More work with regards to imager

This commit is contained in:
Jaime Thomas
2008-05-21 01:01:37 +00:00
parent 1fecc24f2a
commit 7cff99ed50
5 changed files with 54 additions and 84 deletions

View File

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