2004-01-26 19:50:57 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/cocoa/NSApplication.h
|
|
|
|
// Purpose: wxNSApplicationDelegate definition
|
|
|
|
// Author: David Elliott
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2004/01/26
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 2003,2004 David Elliott
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2004-01-26 19:50:57 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_COCOA_NSAPPLICATION_H__
|
|
|
|
#define _WX_COCOA_NSAPPLICATION_H__
|
|
|
|
|
|
|
|
// ========================================================================
|
|
|
|
// wxNSApplicationDelegate
|
|
|
|
// ========================================================================
|
|
|
|
@interface wxNSApplicationDelegate : NSObject
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// Delegate methods
|
|
|
|
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication;
|
|
|
|
- (void)applicationWillBecomeActive:(NSNotification *)notification;
|
|
|
|
- (void)applicationDidBecomeActive:(NSNotification *)notification;
|
|
|
|
- (void)applicationWillResignActive:(NSNotification *)notification;
|
|
|
|
- (void)applicationDidResignActive:(NSNotification *)notification;
|
|
|
|
@end // interface wxNSApplicationDelegate : NSObject
|
|
|
|
|
|
|
|
#endif //ndef _WX_COCOA_NSAPPLICATION_H__
|