X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/20b8724d290791e2a939c3baa3d5657eb3f8ebb1..ce09fc27ba154c6b75d46a29e0ce165a8f205f65:/UICaboodle/RVBook.h diff --git a/UICaboodle/RVBook.h b/UICaboodle/RVBook.h index 8b051851..88a51915 100644 --- a/UICaboodle/RVBook.h +++ b/UICaboodle/RVBook.h @@ -7,13 +7,18 @@ @class UINavigationBar; @class UITransitionView; +@protocol RVNavigationBarDelegate +@end + @protocol RVDelegate - (void) setPageActive:(BOOL)active with:(id)object; - (void) resetViewAnimated:(BOOL)animated with:(id)object; - (void) reloadDataWith:(id)object; @end -@interface RVBook : UIView { +@interface RVBook : UIView < + RVNavigationBarDelegate +> { NSMutableArray *pages_; UINavigationBar *navbar_; UITransitionView *transition_; @@ -34,8 +39,8 @@ - (void) resetViewAnimated:(BOOL)animated; - (void) resetViewAnimated:(BOOL)animated toPage:(RVPage *)page; -- (void) setTitle:(NSString *)title forPage:(RVPage *)page; - (void) setBackButtonTitle:(NSString *)title forPage:(RVPage *)page; +- (void) reloadTitleForPage:(RVPage *)page; - (void) reloadButtonsForPage:(RVPage *)page; - (NSString *) getTitleForPage:(RVPage *)page;