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:
parent
0dcf103d24
commit
edc98d37d2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user