X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/faf4eb4fbd7635e51cfbe54a6565e60d5e3ce7a1..e4765783810c7c63e86074d0aa471d16d864359c:/UICaboodle/RVPage.h diff --git a/UICaboodle/RVPage.h b/UICaboodle/RVPage.h index 8b0a2e41..18e3dd4c 100644 --- a/UICaboodle/RVPage.h +++ b/UICaboodle/RVPage.h @@ -1,13 +1,6 @@ -#import "UICaboodle.h" +#import -#import - -enum RVUINavBarButtonStyle { - RVUINavBarButtonStyleNormal, - RVUINavBarButtonStyleBack, - RVUINavBarButtonStyleHighlighted, - RVUINavBarButtonStyleDestructive -}; +#import @class NSString; @class RVBook; @@ -19,12 +12,14 @@ enum RVUINavBarButtonStyle { - (NSString *) title; - (NSString *) backButtonTitle; -- (NSString *) rightButtonTitle; +- (id) rightButtonTitle; - (NSString *) leftButtonTitle; - (UIView *) accessoryView; -- (RVUINavBarButtonStyle) leftButtonStyle; -- (RVUINavBarButtonStyle) rightButtonStyle; +- (UIImage *) rightButtonImage; + +- (UINavigationButtonStyle) leftButtonStyle; +- (UINavigationButtonStyle) rightButtonStyle; - (void) _rightButtonClicked; - (void) _leftButtonClicked; @@ -32,7 +27,6 @@ enum RVUINavBarButtonStyle { - (void) setPageActive:(BOOL)active; - (void) resetViewAnimated:(BOOL)animated; -- (void) setTitle:(NSString *)title; - (void) setBackButtonTitle:(NSString *)title; - (void) reloadButtons; @@ -41,5 +35,6 @@ enum RVUINavBarButtonStyle { - (id) initWithBook:(RVBook *)book; - (void) setDelegate:(id)delegate; +- (void) setBook:(RVBook *)book; @end