summaryrefslogtreecommitdiff
path: root/RVPage.h
diff options
context:
space:
mode:
Diffstat (limited to 'RVPage.h')
-rw-r--r--RVPage.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/RVPage.h b/RVPage.h
new file mode 100644
index 0000000..5065dd2
--- /dev/null
+++ b/RVPage.h
@@ -0,0 +1,35 @@
+#import "UICaboodle.h"
+
+#import <UIKit/UIView.h>
+
+@class NSString;
+@class RVBook;
+
+@interface RVPage : UIView {
+ _transient RVBook *book_;
+ _transient id delegate_;
+}
+
+- (NSString *) title;
+- (NSString *) backButtonTitle;
+- (NSString *) rightButtonTitle;
+- (NSString *) leftButtonTitle;
+- (UIView *) accessoryView;
+
+- (void) _rightButtonClicked;
+- (void) _leftButtonClicked;
+
+- (void) setPageActive:(BOOL)active;
+- (void) resetViewAnimated:(BOOL)animated;
+
+- (void) setTitle:(NSString *)title;
+- (void) setBackButtonTitle:(NSString *)title;
+
+- (void) reloadButtons;
+- (void) reloadData;
+
+- (id) initWithBook:(RVBook *)book;
+
+- (void) setDelegate:(id)delegate;
+
+@end