X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/0470069371352de4f0b448ea31c0984a8cbdc9d7..2fd3803f9b993755221dfc1cca2588cd7c9e3aac:/UICaboodle/RVBook.h diff --git a/UICaboodle/RVBook.h b/UICaboodle/RVBook.h index a7781e7b..376a1531 100644 --- a/UICaboodle/RVBook.h +++ b/UICaboodle/RVBook.h @@ -1,4 +1,4 @@ -#import "UICaboodle.h" +#import #import @@ -24,6 +24,10 @@ - (CGRect) popUpBounds; @end +@protocol RVBookHook +- (void) didCloseBook:(RVBook *)book; +@end + @interface RVBook : UIView < RVNavigationBarDelegate > { @@ -32,6 +36,7 @@ UITransitionView *transition_; BOOL resetting_; _transient id delegate_; + _transient id hook_; UIToolbar *toolbar_; } @@ -39,10 +44,15 @@ - (id) initWithFrame:(CGRect)frame; - (void) setDelegate:(id)delegate; +- (void) setHook:(id)hook; - (void) setPage:(RVPage *)page; +- (void) swapPage:(RVPage *)page; + +- (void) pushPage:(RVPage *)page animated:(BOOL)animated; - (void) pushPage:(RVPage *)page; + - (void) popPages:(unsigned)pages; - (void) pushBook:(RVBook *)book; @@ -55,6 +65,7 @@ - (void) reloadButtonsForPage:(RVPage *)page; - (NSString *) getTitleForPage:(RVPage *)page; +- (void) reloadButtons; - (void) reloadData; - (CGRect) pageBounds;