X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/7b0ce2dae1de402fa371933b3254bf19b81a89eb..8d603a7de7b0e5e8f72eabe6b2307c4dfff5b663:/UICaboodle/RVPage.h diff --git a/UICaboodle/RVPage.h b/UICaboodle/RVPage.h index 8b0a2e41..1f39428a 100644 --- a/UICaboodle/RVPage.h +++ b/UICaboodle/RVPage.h @@ -1,45 +1,11 @@ -#import "UICaboodle.h" +#import -#import +#import -enum RVUINavBarButtonStyle { - RVUINavBarButtonStyleNormal, - RVUINavBarButtonStyleBack, - RVUINavBarButtonStyleHighlighted, - RVUINavBarButtonStyleDestructive -}; - -@class NSString; -@class RVBook; - -@interface RVPage : UIView { - _transient RVBook *book_; - _transient id delegate_; +@interface CYViewController : UIViewController { + id delegate_; } - -- (NSString *) title; -- (NSString *) backButtonTitle; -- (NSString *) rightButtonTitle; -- (NSString *) leftButtonTitle; -- (UIView *) accessoryView; - -- (RVUINavBarButtonStyle) leftButtonStyle; -- (RVUINavBarButtonStyle) rightButtonStyle; - -- (void) _rightButtonClicked; -- (void) _leftButtonClicked; - -- (void) setPageActive:(BOOL)active; -- (void) resetViewAnimated:(BOOL)animated; - -- (void) setTitle:(NSString *)title; -- (void) setBackButtonTitle:(NSString *)title; - -- (void) reloadButtons; +- (void)setDelegate:(id)delegate; - (void) reloadData; - -- (id) initWithBook:(RVBook *)book; - -- (void) setDelegate:(id)delegate; - @end +