1
0
mirror of https://github.com/kanjitalk755/macemu.git synced 2024-12-28 22:31:11 +00:00

Removed redundant (old C++ environment) stuff

This commit is contained in:
nigel 2002-05-25 23:58:51 +00:00
parent 0dcf103d24
commit edc98d37d2

View File

@ -483,25 +483,6 @@ void ClearInterruptFlag(uint32 flag)
* Display error alert
*/
//#import <Foundation/NSString.h>
#import <AppKit/NSPanel.h>
extern "C"
{
int NSRunAlertPanel (NSString *title, NSString *msg,
NSString *defaultButton,
NSString *alternateButton,
NSString *otherButton, ...);
int NSRunInformationalAlertPanel(NSString *title, NSString *msg,
NSString *defaultButton,
NSString *alternateButton,
NSString *otherButton, ...);
int NSRunCriticalAlertPanel (NSString *title, NSString *msg,
NSString *defaultButton,
NSString *alternateButton,
NSString *otherButton, ...);
}
void ErrorAlert(const char *text)
{
NSString *title = [NSString stringWithCString: