]> git.saurik.com Git - cydia.git/blob - UICaboodle/RVPage.mm
Sanity in rotation handling: centralize in CYViewController, as it should be.
[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 return (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad || orientation == UIInterfaceOrientationPortrait);
16 }
17 @end