-
Notifications
You must be signed in to change notification settings - Fork 2
/
HomeView.mm
39 lines (33 loc) · 898 Bytes
/
HomeView.mm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#import "HomeView.h"
@implementation HomeView
- (void) _setMoreHeaders:(NSMutableURLRequest *)request {
[super _setMoreHeaders:request];
if (ChipID_ != nil)
[request setValue:ChipID_ forHTTPHeaderField:@"X-Chip-ID"];
}
- (void) _leftButtonClicked {
UIAlertView *alert = [[[UIAlertView alloc] init] autorelease];
[alert setTitle:UCLocalize("ABOUT_CYDIA")];
[alert addButtonWithTitle:UCLocalize("CLOSE")];
[alert setCancelButtonIndex:0];
[alert setMessage:
@"Copyright \u00A9 2008-2010\n"
"Jay Freeman (saurik)\n"
"saurik@saurik.com\n"
"http://www.saurik.com/\n"
"\n"
"The Okori Group\n"
"http://www.theokorigroup.com/\n"
"\n"
"College of Creative Studies,\n"
"University of California,\n"
"Santa Barbara\n"
"http://www.ccs.ucsb.edu/"
];
[alert show];
}
- (NSString *) leftButtonTitle {
return UCLocalize("ABOUT");
}
@end
/* }}} */