]>
Commit | Line | Data |
---|---|---|
1 | #import "UICaboodle.h" | |
2 | ||
3 | #import <UIKit/UIView.h> | |
4 | ||
5 | enum RVUINavBarButtonStyle { | |
6 | RVUINavBarButtonStyleNormal, | |
7 | RVUINavBarButtonStyleBack, | |
8 | RVUINavBarButtonStyleHighlighted, | |
9 | RVUINavBarButtonStyleDestructive | |
10 | }; | |
11 | ||
12 | @class NSString; | |
13 | @class RVBook; | |
14 | ||
15 | @interface RVPage : UIView { | |
16 | _transient RVBook *book_; | |
17 | _transient id delegate_; | |
18 | } | |
19 | ||
20 | - (NSString *) title; | |
21 | - (NSString *) backButtonTitle; | |
22 | - (NSString *) rightButtonTitle; | |
23 | - (NSString *) leftButtonTitle; | |
24 | - (UIView *) accessoryView; | |
25 | ||
26 | - (RVUINavBarButtonStyle) leftButtonStyle; | |
27 | - (RVUINavBarButtonStyle) rightButtonStyle; | |
28 | ||
29 | - (void) _rightButtonClicked; | |
30 | - (void) _leftButtonClicked; | |
31 | ||
32 | - (void) setPageActive:(BOOL)active; | |
33 | - (void) resetViewAnimated:(BOOL)animated; | |
34 | ||
35 | - (void) setTitle:(NSString *)title; | |
36 | - (void) setBackButtonTitle:(NSString *)title; | |
37 | ||
38 | - (void) reloadButtons; | |
39 | - (void) reloadData; | |
40 | ||
41 | - (id) initWithBook:(RVBook *)book; | |
42 | ||
43 | - (void) setDelegate:(id)delegate; | |
44 | ||
45 | @end |