platform/iphone/Classes/SimpleMainView.h in rhodes-2.0.2 vs platform/iphone/Classes/SimpleMainView.h in rhodes-2.0.3

- old
+ new

@@ -8,19 +8,21 @@ #import <UIKit/UIKit.h> #import "RhoMainView.h" @interface SimpleMainView : UIViewController <RhoMainView, UIWebViewDelegate> { - UIView *parent; - UIView *root; + UIWebView *webView; UIToolbar *toolbar; UINavigationBar *navbar; } -@property (retain) UIView *root; -- (id)initWithMainView:(id<RhoMainView>)v; -- (id)initWithMainView:(id<RhoMainView>)v toolbar:(NSArray*)items; +- (id)initWithMainView:(id<RhoMainView>)v parent:(UIWindow*)p; +- (id)initWithMainView:(id<RhoMainView>)v parent:(UIWindow*)p toolbar:(NSArray*)items; - (id)initWithParentView:(UIView *)p frame:(CGRect)frame; + +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation; +- (void) didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation; +- (void)loadView; @end