summaryrefslogtreecommitdiff
path: root/UICaboodle/RVPage.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-04-30 04:59:47 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:07:35 +0000
commit308c03802400d5679ec355e577f09bd0e86bfcd9 (patch)
tree626ef998c47ebbe33e0768293fd0da57b3e922d6 /UICaboodle/RVPage.h
parent7e9a36b640f18febaa4d1beeda6e0f55749cd2b2 (diff)
Factored out common code to common subproject.
Diffstat (limited to 'UICaboodle/RVPage.h')
-rw-r--r--UICaboodle/RVPage.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/UICaboodle/RVPage.h b/UICaboodle/RVPage.h
new file mode 100644
index 0000000..5065dd2
--- /dev/null
+++ b/UICaboodle/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