X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/aa5d0de7a71977eaf42728cfe4ab8ae31d1133a9..6995cc75744a56c2e552404a8de6181fd45ac562:/UICaboodle/RVBook.h diff --git a/UICaboodle/RVBook.h b/UICaboodle/RVBook.h index a7781e7b..1d06b0b9 100644 --- a/UICaboodle/RVBook.h +++ b/UICaboodle/RVBook.h @@ -1,70 +1,15 @@ -#import "UICaboodle.h" +#import #import -@class NSMutableArray; -@class RVBook; -@class RVPage; -@class UINavigationBar; -@class UITransitionView; - -@interface UIView (PopUpView) -- (void) popFromSuperviewAnimated:(BOOL)animated; -- (void) popSubview:(UIView *)view; -@end - -@protocol RVNavigationBarDelegate -@end - -@protocol RVDelegate -- (void) setPageActive:(BOOL)active with:(id)object; -- (void) resetViewAnimated:(BOOL)animated with:(id)object; -- (void) reloadDataWith:(id)object; -- (void) popUpBook:(RVBook *)book; -- (CGRect) popUpBounds; +@protocol HookProtocol +- (void) didDismissModalViewController; @end -@interface RVBook : UIView < - RVNavigationBarDelegate -> { - NSMutableArray *pages_; - UINavigationBar *navbar_; - UITransitionView *transition_; - BOOL resetting_; - _transient id delegate_; - UIToolbar *toolbar_; +@interface UCNavigationController : UINavigationController { + _transient id hook_; } - -- (UINavigationBar *) navigationBar; - -- (id) initWithFrame:(CGRect)frame; -- (void) setDelegate:(id)delegate; - -- (void) setPage:(RVPage *)page; - -- (void) pushPage:(RVPage *)page; -- (void) popPages:(unsigned)pages; - -- (void) pushBook:(RVBook *)book; - -- (void) resetViewAnimated:(BOOL)animated; -- (void) resetViewAnimated:(BOOL)animated toPage:(RVPage *)page; - -- (void) setBackButtonTitle:(NSString *)title forPage:(RVPage *)page; -- (void) reloadTitleForPage:(RVPage *)page; -- (void) reloadButtonsForPage:(RVPage *)page; -- (NSString *) getTitleForPage:(RVPage *)page; - -- (void) reloadData; - -- (CGRect) pageBounds; -- (void) close; - +- (void) setHook:(id)hook; @end -@interface RVPopUpBook : RVBook { - _transient RVBook *parent_; - bool cancel_; -} -@end