13 #import <Cocoa/Cocoa.h>
17 extern NSString *OTTDMainLaunchGameEngine;
21 + (NSCursor *) clearCocoaCursor;
31 - (void)miniaturize:(
id)sender;
33 - (void)setFrame:(NSRect)frameRect display:(BOOL)flag;
34 - (void)appDidHide:(NSNotification*)note;
35 - (void)appDidUnhide:(NSNotification*)note;
36 - (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)styleMask backing:(NSBackingStoreType)backingType defer:(BOOL)flag;
43 NSTrackingRectTag trackingtag;
46 - (void)drawRect:(NSRect)rect;
48 - (BOOL)acceptsFirstResponder;
49 - (BOOL)becomeFirstResponder;
50 - (void)setTrackingRect;
51 - (void)clearTrackingRect;
52 - (void)resetCursorRects;
53 - (void)viewWillMoveToWindow:(NSWindow *)win;
54 - (void)viewDidMoveToWindow;
55 - (void)mouseEntered:(NSEvent *)theEvent;
56 - (void)mouseExited:(NSEvent *)theEvent;
67 - (BOOL)windowShouldClose:(
id)sender;
68 - (void)windowDidEnterFullScreen:(NSNotification *)aNotification;
69 - (void)windowDidChangeScreenProfile:(NSNotification *)aNotification;
70 - (NSApplicationPresentationOptions)window:(NSWindow *)window willUseFullScreenPresentationOptions:(NSApplicationPresentationOptions)proposedOptions;
74 bool CocoaSetupApplication();
75 void CocoaExitApplication();