@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_;
_transient id delegate_;
}
+- (UINavigationBar *) navigationBar;
+
- (id) initWithFrame:(CGRect)frame;
- (void) setDelegate:(id)delegate;
- (void) pushPage:(RVPage *)page;
- (void) popPages:(unsigned)pages;
-- (void) setPrompt:(NSString *)prompt;
-
- (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;