Oolite 1.91.0.7604-240417-a536cbe
Loading...
Searching...
No Matches
OoliteApp.h
Go to the documentation of this file.
1/*
2
3OoliteApp.h
4
5This is a subclass of NSApplication for Oolite.
6
7It gets around problems with the system intercepting certain events (NSKeyDown
8and NSKeyUp) before MyOpenGLView gets to see them, it does this by sending
9those events to MyOpenGLView regardless of any other processing NSApplication
10will do with them.
11
12Oolite
13Copyright (C) 2004-2013 Giles C Williams and contributors
14
15This program is free software; you can redistribute it and/or
16modify it under the terms of the GNU General Public License
17as published by the Free Software Foundation; either version 2
18of the License, or (at your option) any later version.
19
20This program is distributed in the hope that it will be useful,
21but WITHOUT ANY WARRANTY; without even the implied warranty of
22MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23GNU General Public License for more details.
24
25You should have received a copy of the GNU General Public License
26along with this program; if not, write to the Free Software
27Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
28MA 02110-1301, USA.
29
30*/
31
32#import "OOCocoa.h"
33
34@class GameController;
35
36
37@interface OoliteApp: NSApplication
38{
39@private
40 IBOutlet NSWindow *_gameWindow;
42 NSString *_exitContext;
43}
44
45- (void) setExitContext:(NSString *)exitContext;
46
47@end
NSString * _exitContext
Definition OoliteApp.h:42
IBOutlet GameController * _gameController
Definition OoliteApp.h:41
IBOutlet NSWindow * _gameWindow
Definition OoliteApp.h:40