Cleanup of the use of include files in src/video/uikit

This commit is contained in:
Kees Bakker 2011-09-27 23:40:21 +02:00
parent 52f5e85d3b
commit 9da0e1c8c1
7 changed files with 8 additions and 17 deletions

View file

@ -20,7 +20,6 @@
*/ */
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import "SDL_uikitopenglview.h"
@interface SDLUIKitDelegate : NSObject<UIApplicationDelegate> { @interface SDLUIKitDelegate : NSObject<UIApplicationDelegate> {
} }

View file

@ -18,10 +18,13 @@
misrepresented as being the original software. misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#include "SDL_config.h" #ifndef _SDL_uikitevents_h
#define _SDL_uikitevents_h
#include "SDL_uikitvideo.h" #include "../SDL_sysvideo.h"
extern void UIKit_PumpEvents(_THIS); extern void UIKit_PumpEvents(_THIS);
#endif /* _SDL_uikitevents_h */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */

View file

@ -18,13 +18,10 @@
misrepresented as being the original software. misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#include "SDL_config.h"
#ifndef _SDL_uikitopengles #ifndef _SDL_uikitopengles
#define _SDL_uikitopengles #define _SDL_uikitopengles
#include "SDL_uikitvideo.h" #include "../SDL_sysvideo.h"
extern int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window, extern int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window,
SDL_GLContext context); SDL_GLContext context);

View file

@ -18,13 +18,9 @@
misrepresented as being the original software. misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#include "SDL_config.h"
#ifndef _SDL_uikitvideo_h #ifndef _SDL_uikitvideo_h
#define _SDL_uikitvideo_h #define _SDL_uikitvideo_h
#include "../SDL_sysvideo.h"
#include <UIKit/UIKit.h> #include <UIKit/UIKit.h>
extern BOOL SDL_UIKit_supports_multiple_displays; extern BOOL SDL_UIKit_supports_multiple_displays;

View file

@ -20,8 +20,6 @@
*/ */
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#include "SDL_stdinc.h"
#include "SDL_events.h"
#import "SDL_uikitviewcontroller.h" #import "SDL_uikitviewcontroller.h"
#define IPHONE_TOUCH_EFFICIENT_DANGEROUS #define IPHONE_TOUCH_EFFICIENT_DANGEROUS

View file

@ -21,8 +21,7 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#include "SDL_video.h" #include "../SDL_sysvideo.h"
@interface SDL_uikitviewcontroller : UIViewController { @interface SDL_uikitviewcontroller : UIViewController {
@private @private

View file

@ -18,13 +18,12 @@
misrepresented as being the original software. misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution. 3. This notice may not be removed or altered from any source distribution.
*/ */
#include "SDL_config.h"
#ifndef _SDL_uikitwindow_h #ifndef _SDL_uikitwindow_h
#define _SDL_uikitwindow_h #define _SDL_uikitwindow_h
#include "../SDL_sysvideo.h" #include "../SDL_sysvideo.h"
#import "SDL_uikitopenglview.h" #import "SDL_uikitopenglview.h"
#import "SDL_uikitviewcontroller.h"
typedef struct SDL_WindowData SDL_WindowData; typedef struct SDL_WindowData SDL_WindowData;