Mercurial > sdl-ios-xcode
comparison src/video/uikit/SDL_uikitappdelegate.h @ 3400:4ec48602f1db
iPhone interruption patch / SDL 1.3
Eric Wing to Sam
I've been sitting on this too long. I need to push.
It's untested because of the unrelated crashing bug I've been experiencing.
Also have a fix for SIZEOF_VOIDP in the config for both iPhone and Mac.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 17 Oct 2009 07:36:45 +0000 |
parents | 99210400e8b9 |
children | 64ce267332c6 |
comparison
equal
deleted
inserted
replaced
3399:f96615051c8c | 3400:4ec48602f1db |
---|---|
24 #import "SDL_uikitopenglview.h" | 24 #import "SDL_uikitopenglview.h" |
25 | 25 |
26 /* *INDENT-OFF* */ | 26 /* *INDENT-OFF* */ |
27 @interface SDLUIKitDelegate:NSObject<UIApplicationDelegate> { | 27 @interface SDLUIKitDelegate:NSObject<UIApplicationDelegate> { |
28 UIWindow *window; | 28 UIWindow *window; |
29 SDL_WindowID windowID; | |
29 } | 30 } |
30 | 31 |
31 @property (readwrite, retain) UIWindow *window; | 32 @property (readwrite, retain) UIWindow *window; |
33 @property (readwrite, assign) SDL_WindowID windowID; | |
32 | 34 |
33 +(SDLUIKitDelegate *)sharedAppDelegate; | 35 +(SDLUIKitDelegate *)sharedAppDelegate; |
34 | 36 |
35 @end | 37 @end |
36 /* *INDENT-ON* */ | 38 /* *INDENT-ON* */ |