Mercurial > sdl-ios-xcode
diff src/video/uikit/SDL_uikitappdelegate.h @ 2349:0381047f2210 gsoc2008_iphone
The class SDL_uikitappdelegate acts as the UIApplicationDelegate for an iPhone SDL project. This class is reponsible for application control flow, including initial setup of working directory, forwarding command line arguments to the user's main function, and handling application termination.
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Thu, 17 Jul 2008 22:29:37 +0000 |
parents | |
children | 32602672020e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/video/uikit/SDL_uikitappdelegate.h Thu Jul 17 22:29:37 2008 +0000 @@ -0,0 +1,17 @@ +// +// SDLUIKitDelegate.h +// iPodSDL +// +// Created by Holmes Futrell on 5/29/08. +// Copyright 2008 __MyCompanyName__. All rights reserved. +// + +#import <UIKit/UIKit.h> +#import "SDL_uikitopenglview.h" + +@interface SDLUIKitDelegate : NSObject<UIApplicationDelegate> { + UIWindow *window; + SDL_uikitopenglview *view; +} + +@end