annotate src/video/uikit/SDL_uikitappdelegate.h @ 2399:d904584ea86d gsoc2008_iphone

Added SDL_WindowData for UIKit video driver. Now looks up instances here instead of assuming we're referring to a singleton.
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Tue, 22 Jul 2008 22:59:59 +0000
parents 0381047f2210
children 32602672020e
rev   line source
2349
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
1 //
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
2 // SDLUIKitDelegate.h
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
3 // iPodSDL
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
4 //
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
5 // Created by Holmes Futrell on 5/29/08.
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
7 //
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
8
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
9 #import <UIKit/UIKit.h>
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
10 #import "SDL_uikitopenglview.h"
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
11
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
12 @interface SDLUIKitDelegate : NSObject<UIApplicationDelegate> {
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
13 UIWindow *window;
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
14 SDL_uikitopenglview *view;
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
15 }
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
16
0381047f2210 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.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
17 @end