]> git.saurik.com Git - cydia.git/blame - CydiaAppliance.mm
Add package.md5sum.
[cydia.git] / CydiaAppliance.mm
CommitLineData
e17a8c4f
JF
1#import <BackRow/BRAppliance.h>
2#import <BackRow/BRApplianceCategory.h>
3#import <BackRow/BRBaseAppliance.h>
4#import <BackRow/BRTopShelfController.h>
5#import <BackRow/BRTopShelfView.h>
6#import <BackRow/BRViewController.h>
7
7b33d201
JF
8#include <CydiaSubstrate/CydiaSubstrate.h>
9
e17a8c4f 10@interface CydiaTopShelfController : NSObject <BRTopShelfController> {
7b33d201 11 _H<BRTopShelfView> view_;
e17a8c4f
JF
12}
13
14@end
15
16@implementation CydiaTopShelfController
17
e17a8c4f
JF
18- (BRTopShelfView *) topShelfView {
19 return view_;
20}
21
22- (void) selectCategoryWithIdentifier:(NSString *)identifier {
23}
24
25@end
26
27
28@interface CydiaManageViewController : BRViewController {
29}
30@end
31
32@implementation CydiaManageViewController
33@end
34
35
36@interface CydiaAppliance : BRBaseAppliance {
37}
38@end
39
40@implementation CydiaAppliance
41
42- (id) applianceCategories {
43 return [NSArray arrayWithObjects:
44 [BRApplianceCategory categoryWithName:@"Install" identifier:@"cydia-install" preferredOrder:0],
45 [BRApplianceCategory categoryWithName:@"Manage" identifier:@"cydia-manage" preferredOrder:0],
46 [BRApplianceCategory categoryWithName:@"Search" identifier:@"cydia-search" preferredOrder:0],
47 nil];
48}
49
50- (id) controllerForIdentifier:(NSString *)identifier args:(NSDictionary *)args {
51 return nil;
52}
53
54- (id) topShelfController {
55 return [[[CydiaTopShelfController alloc] init] autorelease];
56}
57
58- (int) noContentBRError {
59 // XXX: research
60 return 0;
61}
62
63@end