]> git.saurik.com Git - cydia.git/blame - UICaboodle/RVPage.mm
Ported to latest firmware and fixed locales.
[cydia.git] / UICaboodle / RVPage.mm
CommitLineData
77f175ac
JF
1#import "RVPage.h"
2
3#import <Foundation/Foundation.h>
4#import <UIKit/UIView.h>
5
6#import "RVBook.h"
7
8@implementation RVPage
9
10- (NSString *) title {
11 [self doesNotRecognizeSelector:_cmd];
12 return nil;
13}
14
15- (NSString *) backButtonTitle {
16 return nil;
17}
18
19- (NSString *) leftButtonTitle {
20 return nil;
21}
22
23- (NSString *) rightButtonTitle {
24 return nil;
25}
26
27- (void) _rightButtonClicked {
28 [self doesNotRecognizeSelector:_cmd];
29}
30
31- (void) _leftButtonClicked {
32 [self doesNotRecognizeSelector:_cmd];
33}
34
35- (UIView *) accessoryView {
36 return nil;
37}
38
39- (void) setPageActive:(BOOL)active {
40}
41
42- (void) resetViewAnimated:(BOOL)animated {
43 [self doesNotRecognizeSelector:_cmd];
44}
45
46- (void) setTitle:(NSString *)title {
47 [book_ setTitle:title forPage:self];
48}
49
50- (void) setBackButtonTitle:(NSString *)title {
51 [book_ setBackButtonTitle:title forPage:self];
52}
53
54- (void) reloadButtons {
55 [book_ reloadButtonsForPage:self];
56}
57
58- (void) reloadData {
59}
60
61- (id) initWithBook:(RVBook *)book {
62 if ((self = [super initWithFrame:[book pageBounds]]) != nil) {
63 book_ = book;
64 } return self;
65}
66
67- (void) setDelegate:(id)delegate {
68 delegate_ = delegate;
69}
70
71@end