Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 50 lines (30 sloc) 1.434 kb
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 40 41 42 43 44 45 46 47 48 49

#import "SPAppliance.h"
#import "SPOptionDialog.h"

#define SP_ID @"SP_MM"
#define SP_CAT [BRApplianceCategory categoryWithName:BRLocalizedString(@"More Info", @"More Info") identifier:SP_ID preferredOrder:0]


@implementation SPAppliance


@synthesize topShelfController = _topShelfController;

- (id)init {
if((self = [super init]) != nil) {
_topShelfController = [[SPTopShelfController alloc] init];

_applianceCategories = [[NSArray alloc] initWithObjects:SP_CAT,nil];

} return self;
}

- (id)controllerForIdentifier:(id)identifier args:(id)args
{
id menuController = nil;

if ([identifier isEqualToString:SP_ID])
{

menuController = [[SPOptionDialog alloc] init];
[menuController setTitle:BRLocalizedString(@"Jailbreak Successful", @"Jailbreak Successful")];
[menuController addOptionText:BRLocalizedString(@"Go Back", @"Go Back")];
[menuController addOptionText:BRLocalizedString(@"Hide Menu", @"Hide Menu")];
[menuController setPrimaryInfo:BRLocalizedString(@"Your AppleTV has been successfully jailbroken with Seas0nPass!", @"Your AppleTV has been successfully jailbroken with Seas0nPass!")];
[menuController setSecondaryInfo:BRLocalizedString(@"aTV Flash (black) or other 3rd party plugins can now be installed.", @"aTV Flash (black) or other 3rd party plugins can now be installed.")];


}

return menuController;

}
- (id)applianceCategories {
return _applianceCategories;
}
@end



Something went wrong with that request. Please try again.