summaryrefslogtreecommitdiff
path: root/UICaboodle/RVBook.h
diff options
context:
space:
mode:
Diffstat (limited to 'UICaboodle/RVBook.h')
-rw-r--r--UICaboodle/RVBook.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/UICaboodle/RVBook.h b/UICaboodle/RVBook.h
index 730f7bb..d0037cf 100644
--- a/UICaboodle/RVBook.h
+++ b/UICaboodle/RVBook.h
@@ -24,6 +24,10 @@
- (CGRect) popUpBounds;
@end
+@protocol RVBookHook
+- (void) didCloseBook:(RVBook *)book;
+@end
+
@interface RVBook : UIView <
RVNavigationBarDelegate
> {
@@ -32,6 +36,7 @@
UITransitionView *transition_;
BOOL resetting_;
_transient id delegate_;
+ _transient id hook_;
UIToolbar *toolbar_;
}
@@ -39,6 +44,7 @@
- (id) initWithFrame:(CGRect)frame;
- (void) setDelegate:(id)delegate;
+- (void) setHook:(id)hook;
- (void) setPage:(RVPage *)page;