Line data Source code
1 0 : /* 2 : 3 : OOMacSystemStandardFullScreenController.h 4 : 5 : Full-screen controller used in 64-bit Mac builds under Mac OS X 10.7 (on systems 6 : with a single display, as determined at application startup) and always under 7 : Mac OS X 10.8 or later. 8 : 9 : 10 : Oolite 11 : Copyright (C) 2004-2013 Giles C Williams and contributors 12 : 13 : This program is free software; you can redistribute it and/or 14 : modify it under the terms of the GNU General Public License 15 : as published by the Free Software Foundation; either version 2 16 : of the License, or (at your option) any later version. 17 : 18 : This program is distributed in the hope that it will be useful, 19 : but WITHOUT ANY WARRANTY; without even the implied warranty of 20 : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 : GNU General Public License for more details. 22 : 23 : You should have received a copy of the GNU General Public License 24 : along with this program; if not, write to the Free Software 25 : Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 26 : MA 02110-1301, USA. 27 : 28 : */ 29 : 30 : #import "OOFullScreenController.h" 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 0 : #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