]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/RVBook.h
Minor refactoring of the PackageTable system.
[cydia.git] / UICaboodle / RVBook.h
index 8b0518515db98b569eb3a16a8ae5e634bf7e2876..88a51915c13f65a86725c0489d10d79bebbcebab 100644 (file)
@@ -7,13 +7,18 @@
 @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_;
@@ -34,8 +39,8 @@
 - (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;