]> git.saurik.com Git - cydia.git/blob - UICaboodle/RVPage.mm
Allow BrowserView subclasses to be notified of changes in loading state.
[cydia.git] / UICaboodle / RVPage.mm
1 #import "RVPage.h"
2
3 #import <Foundation/Foundation.h>
4 #import <UIKit/UIKit.h>
5
6 #import "RVBook.h"
7
8 @implementation CYViewController
9 - (void)setDelegate:(id)delegate {
10 delegate_ = delegate;
11 }
12 - (void) reloadData {
13 }
14 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
15 if ([self parentViewController]) {
16 return [[self parentViewController] shouldAutorotateToInterfaceOrientation:orientation];
17 } else {
18 return [super shouldAutorotateToInterfaceOrientation:orientation];
19 }
20 }
21 @end