X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/faf4eb4fbd7635e51cfbe54a6565e60d5e3ce7a1..7afcea1c7f36f0c4ee9c4d4b53618df39073d851:/UICaboodle/RVPage.mm diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm index ee85a7ed..77007558 100644 --- a/UICaboodle/RVPage.mm +++ b/UICaboodle/RVPage.mm @@ -1,7 +1,7 @@ #import "RVPage.h" #import -#import +#import #import "RVBook.h" @@ -20,16 +20,16 @@ return nil; } -- (NSString *) rightButtonTitle { +- (id) rightButtonTitle { return nil; } -- (RVUINavBarButtonStyle) leftButtonStyle { - return [self leftButtonTitle] == nil ? RVUINavBarButtonStyleBack : RVUINavBarButtonStyleNormal; +- (UINavigationButtonStyle) leftButtonStyle { + return [self leftButtonTitle] == nil ? UINavigationButtonStyleBack : UINavigationButtonStyleNormal; } -- (RVUINavBarButtonStyle) rightButtonStyle { - return RVUINavBarButtonStyleNormal; +- (UINavigationButtonStyle) rightButtonStyle { + return UINavigationButtonStyleNormal; } - (void) _rightButtonClicked { @@ -44,6 +44,10 @@ return nil; } +- (UIImage *) rightButtonImage { + return nil; +} + - (void) setPageActive:(BOOL)active { } @@ -51,10 +55,6 @@ [self doesNotRecognizeSelector:_cmd]; } -- (void) setTitle:(NSString *)title { - [book_ setTitle:title forPage:self]; -} - - (void) setBackButtonTitle:(NSString *)title { [book_ setBackButtonTitle:title forPage:self]; }