X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/bde2d79b2e825b71ae4f171cd74ed1f2ad1aa504..6d7126aea11f4a94eeeeb7e575dcec97b6d5da57:/UICaboodle/RVBook.h diff --git a/UICaboodle/RVBook.h b/UICaboodle/RVBook.h index 88a51915..1d06b0b9 100644 --- a/UICaboodle/RVBook.h +++ b/UICaboodle/RVBook.h @@ -1,51 +1,15 @@ -#import "UICaboodle.h" +#import -#import +#import -@class NSMutableArray; -@class RVPage; -@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; +@protocol HookProtocol +- (void) didDismissModalViewController; @end -@interface RVBook : UIView < - RVNavigationBarDelegate -> { - NSMutableArray *pages_; - UINavigationBar *navbar_; - UITransitionView *transition_; - BOOL resetting_; - _transient id delegate_; +@interface UCNavigationController : UINavigationController { + _transient id hook_; } +- (void) setHook:(id)hook; +@end -- (UINavigationBar *) navigationBar; - -- (id) initWithFrame:(CGRect)frame; -- (void) setDelegate:(id)delegate; - -- (void) setPage:(RVPage *)page; - -- (void) pushPage:(RVPage *)page; -- (void) popPages:(unsigned)pages; - -- (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; -@end