Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Cleanup of the use of include files in src/video/uikit
Browse files Browse the repository at this point in the history
  • Loading branch information
keestux committed Sep 27, 2011
1 parent 6c30f32 commit 35ebf73
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 17 deletions.
1 change: 0 additions & 1 deletion src/video/uikit/SDL_uikitappdelegate.h
Expand Up @@ -20,7 +20,6 @@
*/

#import <UIKit/UIKit.h>
#import "SDL_uikitopenglview.h"

@interface SDLUIKitDelegate : NSObject<UIApplicationDelegate> {
}
Expand Down
7 changes: 5 additions & 2 deletions src/video/uikit/SDL_uikitevents.h
Expand Up @@ -18,10 +18,13 @@
misrepresented as being the original software.
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);

#endif /* _SDL_uikitevents_h */

/* vi: set ts=4 sw=4 expandtab: */
5 changes: 1 addition & 4 deletions src/video/uikit/SDL_uikitopengles.h
Expand Up @@ -18,13 +18,10 @@
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/

#include "SDL_config.h"

#ifndef _SDL_uikitopengles
#define _SDL_uikitopengles

#include "SDL_uikitvideo.h"
#include "../SDL_sysvideo.h"

extern int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window,
SDL_GLContext context);
Expand Down
4 changes: 0 additions & 4 deletions src/video/uikit/SDL_uikitvideo.h
Expand Up @@ -18,13 +18,9 @@
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#include "SDL_config.h"

#ifndef _SDL_uikitvideo_h
#define _SDL_uikitvideo_h

#include "../SDL_sysvideo.h"

#include <UIKit/UIKit.h>

extern BOOL SDL_UIKit_supports_multiple_displays;
Expand Down
2 changes: 0 additions & 2 deletions src/video/uikit/SDL_uikitview.h
Expand Up @@ -20,8 +20,6 @@
*/

#import <UIKit/UIKit.h>
#include "SDL_stdinc.h"
#include "SDL_events.h"
#import "SDL_uikitviewcontroller.h"

#define IPHONE_TOUCH_EFFICIENT_DANGEROUS
Expand Down
3 changes: 1 addition & 2 deletions src/video/uikit/SDL_uikitviewcontroller.h
Expand Up @@ -21,8 +21,7 @@

#import <UIKit/UIKit.h>

#include "SDL_video.h"

#include "../SDL_sysvideo.h"

@interface SDL_uikitviewcontroller : UIViewController {
@private
Expand Down
3 changes: 1 addition & 2 deletions src/video/uikit/SDL_uikitwindow.h
Expand Up @@ -18,13 +18,12 @@
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#include "SDL_config.h"

#ifndef _SDL_uikitwindow_h
#define _SDL_uikitwindow_h

#include "../SDL_sysvideo.h"
#import "SDL_uikitopenglview.h"
#import "SDL_uikitviewcontroller.h"

typedef struct SDL_WindowData SDL_WindowData;

Expand Down

0 comments on commit 35ebf73

Please sign in to comment.