// // MainViewController.m // Geopher Lite // // Created by Jeremy on 7/5/08. // Copyright Stone Software 2008. All rights reserved. // #import "MainViewController.h" #import "RootViewController.h" #import "MainView.h" #import "LocatorModel.h" @implementation MainViewController @synthesize rootView; // update the window - (void) updateDisplay:(BOOL)compassUpdate { [(MainView*)self.view updateDisplay:FALSE updateCompass:compassUpdate]; } /* If you need to do additional setup after loading the view, override viewDidLoad. - (void)viewDidLoad { } */ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations return (interfaceOrientation == UIInterfaceOrientationPortrait); } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview // Release anything that's not essential, such as cached data } - (void)dealloc { [super dealloc]; } @end