123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491 |
- #ifndef __NEROUSERDIALOG__
- #define __NEROUSERDIALOG__
- #if defined(__BORLANDC__)
- #pragma pack(push, 8)
- #pragma option push -b
- #endif
- #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_OK = -8,
- DLG_RETURN_YES = -7,
- DLG_RETURN_RETRY = -6,
- DLG_RETURN_IGNORE = -5,
- DLG_RETURN_NO = -4,
- DLG_RETURN_CANCEL = -3,
- DLG_RETURN_ABORT = -2,
-
- DLG_RETURN_NOT_HANDLED = -1,
-
- DLG_RETURN_EXIT = 0,
- DLG_RETURN_FALSE = 0,
- DLG_RETURN_TRUE = 1,
- DLG_DISCONNECT = 2,
- DLG_RETURN_ON_RESTART = 3,
- DLG_RETURN_RESTART = 4,
- DLG_RETURN_CONTINUE = 5,
-
- DLG_DISCONNECT_RESTART = 6,
- DLG_AUTO_INSERT = 7,
- DLG_RETURN_INSTALL_DRIVER = 8,
-
- DLG_RETURN_OFF_RESTART = 9,
-
- DLG_RESTART = 10,
-
- DLG_AUTO_INSERT_RESTART = 11,
-
- DLG_SETTINGS_RESTART = 12,
-
- DLG_OVERBURN = 13,
-
- DLG_AUDIO_PROBLEMS = 14,
-
- DLG_WAITCD = 15,
- DLG_WAITCD_REMINDER = 16,
- DLG_WAITCD_DONE = 17,
- DLG_COPY_QUALITY_LOSS = 18,
- DLG_COPY_FULLRISK = 19,
- DLG_FILESEL_IMAGE = 20,
- DLG_BURNIMAGE_CANCEL = 21,
- DLG_NON_EMPTY_CDRW = 22,
- DLG_COMP_REC_CONFLICT = 23,
- DLG_WRONG_MEDIUM = 24,
- DLG_ROBO_MOVECD = 25,
- DLG_ROBO_MOVECD_DONE = 26,
- DLG_ROBO_USERMESSAGE = 27,
- DLG_WAITCD_MEDIA_INFO = 28,
- DLG_MESSAGEBOX = 29,
- DLG_TEMPSPACE = 30,
- DLG_MAX
- } NeroUserDlgInOut;
- typedef enum
- {
- NDIT_INFO = 0,
- NDIT_WARNING = 1,
- NDIT_ERROR = 2,
- NDIT_QUESTION =3
- } NERODLG_ICON_TYPE;
- typedef enum
- {
-
- NDMT_OK = 0,
-
- NDMT_YESNO = 1,
-
- NDMT_OKCANCEL = 2,
-
-
- NDMT_RETRYCANCEL = 3,
-
- NDMT_ABORTRETRYIGNORE = 4,
-
- NDMT_YESNOCANCEL = 5
- } NERODLG_MESSAGE_TYPE;
- typedef struct
- {
- NERODLG_MESSAGE_TYPE type;
- NERODLG_ICON_TYPE icon;
- NeroUserDlgInOut defaultReturn;
- const char* message;
- } NERODLG_MESSAGEBOX;
- 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;
- typedef struct
- {
- DWORD dwTotalBlocksOnCD;
- DWORD dwTotalCapacity;
- DWORD reserved[32];
- } DLG_OVERBURN_INFO;
- typedef struct
- {
- const char* pCurrentDir;
- __int64 i64FreeSpace;
- __int64 i64SpaceNeeded;
- char* pNewTempDir;
- int iNewTempDirLength;
- DWORD reserved[32];
- } DLG_TEMPSPACE_INFO;
- #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_WAITING,
- NERO_WAITCD_EMPTYCDRW,
- NERO_WAITCD_NOTENOUGHSPACERW,
- NERO_WAITCD_NOTENOUGHSPACE_80MIN,
- 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 disc to write to..." },
- { NERO_WAITCD_SIMULATION, "Please insert a disc to use during simulation...\n\n(Nothing will be written on the disc.)" },
- { NERO_WAITCD_AUTOEJECTLOAD,
- "Please do not remove the disc!\n\nYour recorder requires this eject between simulation and burning. The disc will be reloaded automatically before continuing with burning..." },
- { NERO_WAITCD_REINSERT, "Please do not remove the disc!\n\nYour recorder requires this eject between simulation and burning. Please reinsert the disc..." },
- { NERO_WAITCD_NEXTCD, "Please remove the disc and insert the next recordable disc to write to... " },
- { NERO_WAITCD_ORIGINAL, "Please insert the original disc." },
- { NERO_WAITCD_WRITEPROTECTED,
- "This disc is not writable.\n\nPlease insert a writable disc..." },
- { NERO_WAITCD_NOTENOUGHSPACE,
- "There is not enough space to burn this compilation onto this disc.\n\nPlease insert another disc that provides more space..." },
- { NERO_WAITCD_NEWORIGINAL, "The disc is blank, invalid\nor a multisession disc.\n\nPlease insert original disc ..." },
- { NERO_WAITCD_EMPTYCD, "The disc is not empty.\n\nPlease insert an empty disc." },
- { NERO_WAITCD_WRITE_EMPTY, "Please insert an empty disc to write to..." },
- { NERO_WAITCD_SIMULATION_EMPTY,
- "Please insert an empty disc to use during simulation...\n\n(Nothing will be written on the disc.)" },
- { NERO_WAITCD_WRITEWAVE, "The disc is blank.\n\nPlease insert original disc..." },
- { NERO_WAITCD_MULTISESSION, "Nero is checking for the disc, please wait ...\n\nTo burn this multisession compilation you need the disc, that contains the previous backup sessions. Please insert this disc if you haven't done it before." },
- { NERO_WAITCD_MULTISESSION_SIM,
- "To simulate this multisession compilation you need the disc, that contains the previous backup sessions. Please insert this disc. (Nothing will be written on disc)." },
- { NERO_WAITCD_MULTI_REINSERT,
- "Please do not remove the disc!\n\nYour recorder requires this eject between simulation and burning. Please reinsert the\n same Multisession disc..." },
- { 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 disc to write to..."},
- { NERO_WAITCD_AUTOEJECTLOAD_VER, "Please do not remove the disc!\n\nYour recorder requires that the disc be ejected between burning and verification. The disc will be reloaded automatically when burning is to continue..." },
- { NERO_WAITCD_REINSERT_VER, "Please do not remove the disc!\n\nYour recorder requires that the disc be ejected between burning and verification. Please reinsert the disc...." },
- { NERO_WAITCD_NOFORMAT, "The disc is not formatted. Please insert a formatted disc." },
- { NERO_WAITCD_WRONG_MEDIUM, "Sorry, your compilation cannot be written on this kind of disc. Please insert a disc of the correct type or modify the settings of your compilation to make them compatible with the current disc." },
- { NERO_WAITCD_WAITING, "--- Accessing disc, please wait ---"},
- { NERO_WAITCD_EMPTYCDRW, "The disc is not empty." },
- { NERO_WAITCD_NOTENOUGHSPACERW, "There is not enough space to burn the compilation onto this disc."},
- { NERO_WAITCD_NOTENOUGHSPACE_80MIN, "There is not enough space to burn the compilation onto this disc.\n\nPlease insert a 80min/700MB media"},
- { NERO_WAITCD_MAX, "unknown NERO_WAITCD_TYPE" }
- };
- int i;
-
- assert(!"NeroGetWaitCDTexts is deprecated.");
- 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
- #if defined(__BORLANDC__)
- #pragma pack(pop)
- #pragma option pop
- #endif
- #endif
|