Cleanup of the use of include files in src/video/uikit
authorKees Bakker <kees@ijzerbout.nl>
Tue, 27 Sep 2011 23:40:21 +0200
changeset 6005 f5327bae25cb
parent 6004 d15b5cdd3b12
child 6006 889d89332de4
Cleanup of the use of include files in src/video/uikit
src/video/uikit/SDL_uikitappdelegate.h
src/video/uikit/SDL_uikitevents.h
src/video/uikit/SDL_uikitopengles.h
src/video/uikit/SDL_uikitvideo.h
src/video/uikit/SDL_uikitview.h
src/video/uikit/SDL_uikitviewcontroller.h
src/video/uikit/SDL_uikitwindow.h
--- a/src/video/uikit/SDL_uikitappdelegate.h	Tue Sep 27 22:54:59 2011 +0200
+++ b/src/video/uikit/SDL_uikitappdelegate.h	Tue Sep 27 23:40:21 2011 +0200
@@ -20,7 +20,6 @@
 */
 
 #import <UIKit/UIKit.h>
-#import "SDL_uikitopenglview.h"
 
 @interface SDLUIKitDelegate : NSObject<UIApplicationDelegate> {
 }
--- a/src/video/uikit/SDL_uikitevents.h	Tue Sep 27 22:54:59 2011 +0200
+++ b/src/video/uikit/SDL_uikitevents.h	Tue Sep 27 23:40:21 2011 +0200
@@ -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: */
--- a/src/video/uikit/SDL_uikitopengles.h	Tue Sep 27 22:54:59 2011 +0200
+++ b/src/video/uikit/SDL_uikitopengles.h	Tue Sep 27 23:40:21 2011 +0200
@@ -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);
--- a/src/video/uikit/SDL_uikitvideo.h	Tue Sep 27 22:54:59 2011 +0200
+++ b/src/video/uikit/SDL_uikitvideo.h	Tue Sep 27 23:40:21 2011 +0200
@@ -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;
--- a/src/video/uikit/SDL_uikitview.h	Tue Sep 27 22:54:59 2011 +0200
+++ b/src/video/uikit/SDL_uikitview.h	Tue Sep 27 23:40:21 2011 +0200
@@ -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
--- a/src/video/uikit/SDL_uikitviewcontroller.h	Tue Sep 27 22:54:59 2011 +0200
+++ b/src/video/uikit/SDL_uikitviewcontroller.h	Tue Sep 27 23:40:21 2011 +0200
@@ -21,8 +21,7 @@
 
 #import <UIKit/UIKit.h>
 
-#include "SDL_video.h"
-
+#include "../SDL_sysvideo.h"
 
 @interface SDL_uikitviewcontroller : UIViewController {
 @private
--- a/src/video/uikit/SDL_uikitwindow.h	Tue Sep 27 22:54:59 2011 +0200
+++ b/src/video/uikit/SDL_uikitwindow.h	Tue Sep 27 23:40:21 2011 +0200
@@ -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;