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