diff options
Diffstat (limited to 'UICaboodle/RVBook.h')
-rw-r--r-- | UICaboodle/RVBook.h | 74 |
1 files changed, 2 insertions, 72 deletions
diff --git a/UICaboodle/RVBook.h b/UICaboodle/RVBook.h index 376a153..b605cc6 100644 --- a/UICaboodle/RVBook.h +++ b/UICaboodle/RVBook.h @@ -2,80 +2,10 @@ #import <UIKit/UIKit.h> -@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; -@end - -@protocol RVBookHook -- (void) didCloseBook:(RVBook *)book; -@end - -@interface RVBook : UIView < - RVNavigationBarDelegate -> { - NSMutableArray *pages_; - UINavigationBar *navbar_; - UITransitionView *transition_; - BOOL resetting_; - _transient id delegate_; - _transient id hook_; - UIToolbar *toolbar_; +@interface UCNavigationController : UINavigationController { + id hook_; } - -- (UINavigationBar *) navigationBar; - -- (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; - -- (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) reloadButtons; -- (void) reloadData; - -- (CGRect) pageBounds; -- (void) close; - @end -@interface RVPopUpBook : RVBook { - _transient RVBook *parent_; - bool cancel_; -} -@end |