]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/RVBook.h
Fixed memory retain issue in _H<> and a crash bug in sources_ (causing nils).
[cydia.git] / UICaboodle / RVBook.h
index a7781e7b827db8ead16dd2dc5aa35a98ccd5ba8e..ff42c5a8e7eaa2095df277fc237262b4adefb020 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;
 
@@ -55,6 +63,7 @@
 - (void) reloadButtonsForPage:(RVPage *)page;
 - (NSString *) getTitleForPage:(RVPage *)page;
 
+- (void) reloadButtons;
 - (void) reloadData;
 
 - (CGRect) pageBounds;