|
|
| version 1.4, 2003/11/21 16:01:41 | version 1.6, 2004/03/02 23:23:06 |
|---|---|
| Line 27 static SInt16 showCautionAlert(CFStringR | Line 27 static SInt16 showCautionAlert(CFStringR |
| RunStandardAlert(ret, NULL, &hit); | RunStandardAlert(ret, NULL, &hit); |
| return(hit); | return(hit); |
| } | } |
| /* | |
| #if defined(CPUCORE_IA32) | |
| void msgbox (char* title, char* msg) { | |
| DialogItemIndex hit; | |
| CFStringRef cftitle, cfmsg; | |
| cftitle = CFSTRj(title); | |
| cfmsg = CFSTRj(msg); | |
| hit = showCautionAlert(cftitle, cfmsg, NULL); | |
| if (cftitle) CFRelease(cftitle); | |
| if (cfmsg) CFRelease(cfmsg); | |
| return; | |
| } | |
| #endif | |
| */ | |
| void ResumeErrorDialogProc(void) { | void ResumeErrorDialogProc(void) { |
| DialogRef ret; | DialogRef ret; |
| AlertStdCFStringAlertParamRec param; | AlertStdCFStringAlertParamRec param; |
| DialogItemIndex hit; | DialogItemIndex hit; |
| GetStandardAlertDefaultParams(¶m, kStdCFStringAlertVersionOne); | GetStandardAlertDefaultParams(¶m, kStdCFStringAlertVersionOne); |
| param.movable = true; | |
| CreateStandardAlert(kAlertStopAlert, CFCopyLocalizedString(CFSTR("Couldn't restart"), "Resume Error Message"), | CreateStandardAlert(kAlertStopAlert, CFCopyLocalizedString(CFSTR("Couldn't restart"), "Resume Error Message"), |
| CFCopyLocalizedString(CFSTR("An error occured when reading the np2.sav file. Neko Project IIx couldn't restart."), "Resume Error Description"), | CFCopyLocalizedString(CFSTR("An error occured when reading the np2.sav file. Neko Project IIx couldn't restart."), "Resume Error Description"), |
| ¶m, &ret); | ¶m, &ret); |
| Line 79 bool QuitWarningDialogProc(void) { | Line 94 bool QuitWarningDialogProc(void) { |
| } | } |
| } | } |
| return(true); | return(true); |
| } | |
| } |