]>
Commit | Line | Data |
---|---|---|
77f175ac JF |
1 | #import "UICaboodle.h" |
2 | ||
3 | #import <UIKit/UIView.h> | |
4 | ||
faf4eb4f JF |
5 | enum RVUINavBarButtonStyle { |
6 | RVUINavBarButtonStyleNormal, | |
7 | RVUINavBarButtonStyleBack, | |
8 | RVUINavBarButtonStyleHighlighted, | |
9 | RVUINavBarButtonStyleDestructive | |
10 | }; | |
11 | ||
77f175ac JF |
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 | ||
faf4eb4f JF |
26 | - (RVUINavBarButtonStyle) leftButtonStyle; |
27 | - (RVUINavBarButtonStyle) rightButtonStyle; | |
28 | ||
77f175ac JF |
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 |