]> git.saurik.com Git - cydia.git/blame - UICaboodle/RVPage.h
Moved /notice/ to somewhere with more bandwidth, fixed a typo in Information, updated...
[cydia.git] / UICaboodle / RVPage.h
CommitLineData
7e9a36b6
JF
1#import "UICaboodle.h"
2
3#import <UIKit/UIView.h>
4
7b0ce2da
JF
5enum RVUINavBarButtonStyle {
6 RVUINavBarButtonStyleNormal,
7 RVUINavBarButtonStyleBack,
8 RVUINavBarButtonStyleHighlighted,
9 RVUINavBarButtonStyleDestructive
10};
11
7e9a36b6
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
7b0ce2da
JF
26- (RVUINavBarButtonStyle) leftButtonStyle;
27- (RVUINavBarButtonStyle) rightButtonStyle;
28
7e9a36b6
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