X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/d4f84362aecb14bc7343022545139727d3ad7191..1e63fe6c2fd1018a669edf272ea87cfb24a2e3af:/UICaboodle/RVPage.mm diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm index 7154bab5..b2253330 100644 --- a/UICaboodle/RVPage.mm +++ b/UICaboodle/RVPage.mm @@ -5,83 +5,10 @@ #import "RVBook.h" -@implementation RVPage - -- (bool) splitView { - return false; -} - -- (NSString *) title { - [self doesNotRecognizeSelector:_cmd]; - return nil; -} - -- (NSString *) backButtonTitle { - return nil; -} - -- (NSString *) leftButtonTitle { - return nil; -} - -- (id) rightButtonTitle { - return nil; -} - -- (UINavigationButtonStyle) leftButtonStyle { - return [self leftButtonTitle] == nil ? UINavigationButtonStyleBack : UINavigationButtonStyleNormal; -} - -- (UINavigationButtonStyle) rightButtonStyle { - return UINavigationButtonStyleNormal; -} - -- (void) _rightButtonClicked { - [self doesNotRecognizeSelector:_cmd]; -} - -- (void) _leftButtonClicked { - [self doesNotRecognizeSelector:_cmd]; -} - -- (UIView *) accessoryView { - return nil; -} - -- (UIImage *) rightButtonImage { - return nil; -} - -- (void) setPageActive:(BOOL)active { -} - -- (void) resetViewAnimated:(BOOL)animated { - [self doesNotRecognizeSelector:_cmd]; -} - -- (void) setBackButtonTitle:(NSString *)title { - [book_ setBackButtonTitle:title forPage:self]; -} - -- (void) reloadButtons { - [book_ reloadButtonsForPage:self]; -} - -- (void) reloadData { -} - -- (id) initWithBook:(RVBook *)book { - if ((self = [super initWithFrame:[book pageBounds]]) != nil) { - book_ = book; - } return self; -} - -- (void) setDelegate:(id)delegate { +@implementation UCViewController +- (void)setDelegate:(id)delegate { delegate_ = delegate; } - -- (void) setBook:(RVBook *)book { - book_ = book; +- (void) reloadData { } - -@end +@end \ No newline at end of file