nuclear@39: /* nuclear@39: Stereoscopic tunnel for iOS. nuclear@39: Copyright (C) 2011 John Tsiombikas nuclear@39: nuclear@39: This program is free software: you can redistribute it and/or modify nuclear@39: it under the terms of the GNU General Public License as published by nuclear@39: the Free Software Foundation, either version 3 of the License, or nuclear@39: (at your option) any later version. nuclear@39: nuclear@39: This program is distributed in the hope that it will be useful, nuclear@39: but WITHOUT ANY WARRANTY; without even the implied warranty of nuclear@39: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nuclear@39: GNU General Public License for more details. nuclear@39: nuclear@39: You should have received a copy of the GNU General Public License nuclear@39: along with this program. If not, see . nuclear@39: */ nuclear@39: nuclear@39: /* XXX this file is mostly generated from Xcode and therefore sucks ass */ nuclear@0: nuclear@0: #import "istereoAppDelegate.h" nuclear@0: #import "EAGLView.h" nuclear@0: nuclear@0: @implementation istereoAppDelegate nuclear@0: nuclear@0: @synthesize window; nuclear@0: @synthesize glView; nuclear@0: nuclear@0: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions nuclear@0: { nuclear@0: [glView startAnimation]; nuclear@0: return YES; nuclear@0: } nuclear@0: nuclear@0: - (void)applicationWillResignActive:(UIApplication *)application nuclear@0: { nuclear@0: [glView stopAnimation]; nuclear@0: } nuclear@0: nuclear@0: - (void)applicationDidBecomeActive:(UIApplication *)application nuclear@0: { nuclear@0: [glView startAnimation]; nuclear@0: } nuclear@0: nuclear@0: - (void)applicationWillTerminate:(UIApplication *)application nuclear@0: { nuclear@0: [glView stopAnimation]; nuclear@0: } nuclear@0: nuclear@0: - (void)dealloc nuclear@0: { nuclear@0: [window release]; nuclear@0: [glView release]; nuclear@0: nuclear@0: [super dealloc]; nuclear@0: } nuclear@0: nuclear@0: @end