1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/NSApplication.h
3 // Purpose: wxNSApplicationDelegate definition
4 // Author: David Elliott
8 // Copyright: (c) 2003,2004 David Elliott
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_COCOA_NSAPPLICATION_H__
13 #define _WX_COCOA_NSAPPLICATION_H__
15 // ========================================================================
16 // wxNSApplicationDelegate
17 // ========================================================================
18 @interface wxNSApplicationDelegate
: NSObject
23 - (BOOL
)applicationShouldTerminateAfterLastWindowClosed
:(NSApplication
*)theApplication
;
24 - (void)applicationWillBecomeActive
:(NSNotification
*)notification
;
25 - (void)applicationDidBecomeActive
:(NSNotification
*)notification
;
26 - (void)applicationWillResignActive
:(NSNotification
*)notification
;
27 - (void)applicationDidResignActive
:(NSNotification
*)notification
;
28 @end
// interface wxNSApplicationDelegate : NSObject
30 #endif //ndef _WX_COCOA_NSAPPLICATION_H__