-#import "UICaboodle.h"
+#import <UICaboodle/UCPlatform.h>
#import <UIKit/UIKit.h>
- (CGRect) popUpBounds;
@end
+@protocol RVBookHook
+- (void) didCloseBook:(RVBook *)book;
+@end
+
@interface RVBook : UIView <
RVNavigationBarDelegate
> {
UITransitionView *transition_;
BOOL resetting_;
_transient id delegate_;
+ _transient id hook_;
UIToolbar *toolbar_;
}
- (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) reloadButtonsForPage:(RVPage *)page;
- (NSString *) getTitleForPage:(RVPage *)page;
+- (void) reloadButtons;
- (void) reloadData;
- (CGRect) pageBounds;