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>
8 #include <CydiaSubstrate/CydiaSubstrate.h>
10 @interface CydiaTopShelfController : NSObject <BRTopShelfController> {
11 _H<BRTopShelfView> view_;
16 @implementation CydiaTopShelfController
18 - (BRTopShelfView *) topShelfView {
22 - (void) selectCategoryWithIdentifier:(NSString *)identifier {
28 @interface CydiaManageViewController : BRViewController {
32 @implementation CydiaManageViewController
36 @interface CydiaAppliance : BRBaseAppliance {
40 @implementation CydiaAppliance
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],
50 - (id) controllerForIdentifier:(NSString *)identifier args:(NSDictionary *)args {
54 - (id) topShelfController {
55 return [[[CydiaTopShelfController alloc] init] autorelease];
58 - (int) noContentBRError {