Missing files.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5185 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2012-08-14 18:53:35 +00:00
parent f99bb71d15
commit adbda50a65
2 changed files with 100 additions and 0 deletions

View File

@ -0,0 +1,37 @@
/*
OOMacSnowLeopardFullScreenController.h
Full-screen controller used in 64-bit Mac builds under Mac OS X 10.6.
Oolite
Copyright (C) 2004-2012 Giles C Williams and contributors
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#import "OOFullScreenController.h"
#if OOLITE_MAC_OS_X && OOLITE_64_BIT
@interface OOMacSnowLeopardFullScreenController: OOFullScreenController
@end
#endif

View File

@ -0,0 +1,63 @@
/*
OOMacSnowLeopardFullScreenController.m
Oolite
Copyright (C) 2004-2012 Giles C Williams and contributors
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#import "OOMacSnowLeopardFullScreenController.h"
#if OOLITE_MAC_OS_X && OOLITE_64_BIT
#import "MyOpenGLView.h"
@implementation OOMacSnowLeopardFullScreenController
@synthesize fullScreenMode = _fullScreenMode; // Future note: needs to be explicit because property declaration is inherited.
- (NSArray *) displayModes
{
return [NSArray array];
}
- (OOUInteger) indexOfCurrentDisplayMode
{
return NSNotFound;
}
- (BOOL) setDisplayWidth:(OOUInteger)width height:(OOUInteger)height refreshRate:(OOUInteger)refresh
{
return NO;
}
- (NSDictionary *) findDisplayModeForWidth:(OOUInteger)width height:(OOUInteger)height refreshRate:(OOUInteger)refresh
{
return nil;
}
@end
#endif