| 1 | /////////////////////////////////////////////////////////////////////////////// |
| 2 | // Name: wx/cocoa/NSApplication.h |
| 3 | // Purpose: wxNSApplicationDelegate definition |
| 4 | // Author: David Elliott |
| 5 | // Modified by: |
| 6 | // Created: 2004/01/26 |
| 7 | // RCS-ID: $Id$ |
| 8 | // Copyright: (c) 2003,2004 David Elliott |
| 9 | // Licence: wxWindows licence |
| 10 | /////////////////////////////////////////////////////////////////////////////// |
| 11 | |
| 12 | #ifndef _WX_COCOA_NSAPPLICATION_H__ |
| 13 | #define _WX_COCOA_NSAPPLICATION_H__ |
| 14 | |
| 15 | // ======================================================================== |
| 16 | // wxNSApplicationDelegate |
| 17 | // ======================================================================== |
| 18 | @interface wxNSApplicationDelegate : NSObject |
| 19 | { |
| 20 | } |
| 21 | |
| 22 | // Delegate methods |
| 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 | |
| 29 | // Other notifications |
| 30 | - (void)controlTintChanged:(NSNotification *)notification; |
| 31 | @end // interface wxNSApplicationDelegate : NSObject |
| 32 | |
| 33 | #endif //ndef _WX_COCOA_NSAPPLICATION_H__ |