123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346 |
- #ifndef __NEROUSERDIALOG__
- #define __NEROUSERDIALOG__
- #define AUP_NO_PROBLEM 0
- #define AUP_FIRST_TR_PAUSE 1
- #define AUP_PAUSE_SETTINGS 2
- #define AUP_INDEX_SETTINGS 4
- #define AUP_ISRC_SETTINGS 8
- #define AUP_COPYPROT_SETTINGS 16
- #define AUP_NOTRACK_FOUND 32
- #define AUP_MEGA_FATAL 0xFFFFFFFF
- typedef enum NeroUserDlgInOutEnum {
-
- DLG_RETURN_EXIT = 0,
- DLG_RETURN_FALSE = 0,
- DLG_RETURN_TRUE = 1,
- DLG_DISCONNECT,
- DLG_RETURN_ON_RESTART,
- DLG_RETURN_RESTART,
- DLG_RETURN_CONTINUE,
-
- DLG_DISCONNECT_RESTART,
- DLG_AUTO_INSERT,
- DLG_RETURN_INSTALL_DRIVER,
-
- DLG_RETURN_OFF_RESTART,
-
- DLG_RESTART,
-
- DLG_AUTO_INSERT_RESTART,
-
- DLG_SETTINGS_RESTART,
-
- DLG_OVERBURN,
-
- DLG_AUDIO_PROBLEMS,
-
- DLG_WAITCD,
- DLG_WAITCD_REMINDER,
- DLG_WAITCD_DONE,
- DLG_COPY_QUALITY_LOSS,
- DLG_COPY_FULLRISK,
- DLG_FILESEL_IMAGE,
- DLG_BURNIMAGE_CANCEL,
- DLG_NON_EMPTY_CDRW,
- DLG_COMP_REC_CONFLICT,
- DLG_WRONG_MEDIUM,
- DLG_ROBO_MOVECD,
- DLG_ROBO_MOVECD_DONE,
- DLG_ROBO_USERMESSAGE,
-
- DLG_MAX
- } NeroUserDlgInOut;
- typedef enum
- {
- RUMT_ERROR,
- RUMT_WARNING,
- RUMT_QUESTION,
- RUMT_HINT
- } ROBOUSERMESSAGETYPE;
- typedef struct
- {
- ROBOUSERMESSAGETYPE message_type;
- const char *message;
- } ROBOUSERMESSAGE;
- typedef enum
- {
- RMN_INPUT,
- RMN_RECORDER,
- RMN_OUTPUT,
- RMN_PRINTER,
- RMN_WASTEBIN
- } ROBOMOVENODE;
- typedef struct
- {
- int id;
- ROBOMOVENODE source;
- ROBOMOVENODE destination;
- } ROBOMOVEMESSAGE;
- #if ( !defined(_MSC_VER) && !defined(__cdecl) )
- #define __cdecl
- #endif
- #define NERO_CALLBACK_ATTR __cdecl
- typedef NeroUserDlgInOut (NERO_CALLBACK_ATTR *NERO_USER_DIALOG) (void *pUserData, NeroUserDlgInOut type, void *data);
- typedef enum
- {
- NERO_WAITCD_WRITE,
- NERO_WAITCD_SIMULATION,
- NERO_WAITCD_AUTOEJECTLOAD,
- NERO_WAITCD_REINSERT,
- NERO_WAITCD_NEXTCD,
- NERO_WAITCD_ORIGINAL,
- NERO_WAITCD_WRITEPROTECTED,
- NERO_WAITCD_NOTENOUGHSPACE,
- NERO_WAITCD_NEWORIGINAL,
- NERO_WAITCD_EMPTYCD,
- NERO_WAITCD_WRITE_EMPTY,
- NERO_WAITCD_SIMULATION_EMPTY,
- NERO_WAITCD_WRITEWAVE,
- NERO_WAITCD_MULTISESSION,
- NERO_WAITCD_MULTISESSION_SIM,
- NERO_WAITCD_MULTI_REINSERT,
- NERO_WAITCD_DISCINFOS_FAILED,
- NERO_WAITCD_MEDIUM_UNSUPPORTED,
- NERO_WAITCD_AUTOEJECTLOAD_VER,
- NERO_WAITCD_REINSERT_VER,
- NERO_WAITCD_NOFORMAT,
- NERO_WAITCD_WRONG_MEDIUM,
- NERO_WAITCD_MAX
- } NERO_WAITCD_TYPE;
- #endif
- #ifdef NERO_WAITCD_TEXTS
- #include <assert.h>
- #ifndef NERO_WAITCD_TEXTS_DEFINED
- #define NERO_WAITCD_TEXTS_DEFINED
- static const char *NeroGetWaitCDTexts (NERO_WAITCD_TYPE type)
- {
- static struct
- {
- NERO_WAITCD_TYPE type;
- const char *text;
- } mapping[] =
- {
- { NERO_WAITCD_WRITE, "Please insert the CD to write to..." },
- { NERO_WAITCD_SIMULATION, "Please insert a CD to use during simulation...\n\n(Nothing will be written on the CD.)" },
- { NERO_WAITCD_AUTOEJECTLOAD,
- "Please do not remove the CD!\n\nYour recorder requires this eject between simulation and burning. The CD will be reloaded automatically before continuing with burning..." },
- { NERO_WAITCD_REINSERT, "Please do not remove the CD!\n\nYour recorder requires this eject between simulation and burning. Please reinsert the CD..." },
- { NERO_WAITCD_NEXTCD, "Please remove the CD and insert the next CD-Recordable to write to... " },
- { NERO_WAITCD_ORIGINAL, "Please insert the original CD." },
- { NERO_WAITCD_WRITEPROTECTED,
- "This CD is not writable.\n\nPlease insert a writable CD..." },
- { NERO_WAITCD_NOTENOUGHSPACE,
- "There is not enough space to burn this compilation onto this CD.\n\nPlease insert another CD that provides more space..." },
- { NERO_WAITCD_NEWORIGINAL, "The CD is blank, invalid\nor a multisession CD.\n\nPlease insert original CD ..." },
- { NERO_WAITCD_EMPTYCD, "The CD is not empty.\n\nPlease insert an empty CD." },
- { NERO_WAITCD_WRITE_EMPTY, "Please insert an empty CD to write to..." },
- { NERO_WAITCD_SIMULATION_EMPTY,
- "Please insert an empty CD to use during simulation...\n\n(Nothing will be written on the CD.)" },
- { NERO_WAITCD_WRITEWAVE, "The CD is blank.\n\nPlease insert original CD..." },
- { NERO_WAITCD_MULTISESSION, "Nero is checking for the CD, please wait ...\n\nTo burn this multisession compilation you need the CD, that contains the previous backup sessions. Please insert this CD if you haven't done it before." },
- { NERO_WAITCD_MULTISESSION_SIM,
- "To simulate this multisession compilation you need the CD, that contains the previous backup sessions. Please insert this CD. (Nothing will be written on CD)." },
- { NERO_WAITCD_MULTI_REINSERT,
- "Please do not remove the CD!\n\nYour recorder requires this eject between simulation and burning. Please reinsert the\n same Multisession CD..." },
- { NERO_WAITCD_DISCINFOS_FAILED,
- "Disc analysis failed. The error log\ncontains more information about the reason."},
- { NERO_WAITCD_MEDIUM_UNSUPPORTED,
- "The recorder does not support this type of media!\n\nPlease insert a correct CD to write to..."},
- { NERO_WAITCD_AUTOEJECTLOAD_VER, "Please do not remove the CD!\n\nYour recorder requires that the CD be ejected between burning and verification. The CD will be reloaded automatically when burning is to continue..." },
- { NERO_WAITCD_REINSERT_VER, "Please do not remove the CD!\n\nYour recorder requires that the CD be ejected between burning and verification. Please reinsert the CD...." },
- { NERO_WAITCD_NOFORMAT, "Medium is not formatted. Please insert a formatted medium." },
- { NERO_WAITCD_WRONG_MEDIUM, "Sorry, your compilation cannot be written on this kind of medium. Please insert a medium of the correct type or modify the settings of your compilation to make them compatible with the current medium." },
- { NERO_WAITCD_MAX, "unknown NERO_WAITCD_TYPE" }
- };
- int i;
- for (i = 0; mapping[i].type != type && mapping[i].type != NERO_WAITCD_MAX; i++)
- ;
- assert (mapping[i].type != NERO_WAITCD_MAX);
- return mapping[i].text;
- }
- #endif
- #endif
|