annotate src/video/uikit/SDL_uikitappdelegate.h @ 2403:e9a1eed243c9 gsoc2008_iphone

Added standard SDL header comments
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Tue, 22 Jul 2008 23:05:40 +0000
parents 32602672020e
children e060950cbf30
rev   line source
2401
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
1 /*
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
2 SDL - Simple DirectMedia Layer
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
3 Copyright (C) 1997-2006 Sam Lantinga
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
4
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
5 This library is free software; you can redistribute it and/or
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
6 modify it under the terms of the GNU Lesser General Public
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
7 License as published by the Free Software Foundation; either
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
8 version 2.1 of the License, or (at your option) any later version.
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
9
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
10 This library is distributed in the hope that it will be useful,
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
13 Lesser General Public License for more details.
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
14
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
15 You should have received a copy of the GNU Lesser General Public
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
16 License along with this library; if not, write to the Free Software
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
18
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
19 Sam Lantinga
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
20 slouken@libsdl.org
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
21 */
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
22
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
23 #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
24 #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
25
2401
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
26 @interface SDLUIKitDelegate:NSObject < UIApplicationDelegate > {
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
27 UIWindow *window;
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
28 }
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
29
2401
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
30 @property (readwrite, retain) UIWindow *window;
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
31
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
32 +(SDLUIKitDelegate *)sharedAppDelegate;
32602672020e turned singleton window instance into member variable instead. Added convenience method for getting singleton app delegate.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents: 2349
diff changeset
33
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
34 @end