]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/NSApplication.h
Make wxMenuItemAction: and validateMenuItem: delegate messages take an
[wxWidgets.git] / include / wx / cocoa / NSApplication.h
CommitLineData
7b466aee
DE
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@end // interface wxNSApplicationDelegate : NSObject
29
30#endif //ndef _WX_COCOA_NSAPPLICATION_H__