]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/RVBook.h
Various stability issues.
[cydia.git] / UICaboodle / RVBook.h
index a7781e7b827db8ead16dd2dc5aa35a98ccd5ba8e..d0037cf08fd745758ecea7abb6a65aa44b42fa9e 100644 (file)
 - (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_;
 }
 
 
 - (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;