Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OOMacSystemStandardFullScreenController.h
Go to the documentation of this file.
1/*
2
3OOMacSystemStandardFullScreenController.h
4
5Full-screen controller used in 64-bit Mac builds under Mac OS X 10.7 (on systems
6with a single display, as determined at application startup) and always under
7Mac OS X 10.8 or later.
8
9
10Oolite
11Copyright (C) 2004-2013 Giles C Williams and contributors
12
13This program is free software; you can redistribute it and/or
14modify it under the terms of the GNU General Public License
15as published by the Free Software Foundation; either version 2
16of the License, or (at your option) any later version.
17
18This program is distributed in the hope that it will be useful,
19but WITHOUT ANY WARRANTY; without even the implied warranty of
20MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21GNU General Public License for more details.
22
23You should have received a copy of the GNU General Public License
24along with this program; if not, write to the Free Software
25Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
26MA 02110-1301, USA.
27
28*/
29
31
32/*
33 OOMacSystemStandardFullScreenController requires the Mac OS X 10.7 SDK.
34*/
35#if OOLITE_MAC_OS_X
36#if OOLITE_64_BIT && defined(MAC_OS_X_VERSION_10_7) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
37#define OO_MAC_SUPPORT_SYSTEM_STANDARD_FULL_SCREEN 1
38#endif
39#endif
40
41#ifndef OO_MAC_SUPPORT_SYSTEM_STANDARD_FULL_SCREEN
42#define OO_MAC_SUPPORT_SYSTEM_STANDARD_FULL_SCREEN 0
43#endif
44
45
46#if OO_MAC_SUPPORT_SYSTEM_STANDARD_FULL_SCREEN
47
48
49@interface OOMacSystemStandardFullScreenController: OOFullScreenController
50
51+ (BOOL) shouldUseSystemStandardFullScreenController;
52
53@end
54
55#endif