no need to check if installed in SpringBoard when using MobileSubstrate filter

This commit is contained in:
matthias.ringwald 2009-09-20 18:26:55 +00:00
parent 3ac066c31a
commit a04cd8c2ab
2 changed files with 2 additions and 11 deletions

View File

@ -15,11 +15,8 @@
class SpringBoard;
@interface UIApplication (privateStatusBarIconAPI)
- (void)addStatusBarImageNamed:(id)fp8 removeOnAbnormalExit:(BOOL)fp12;
- (void)addStatusBarImageNamed:(id)fp8;
- (void)removeStatusBarImageNamed:(id)fp8;
// iPhoneOS >= 2.2
- (void)addStatusBarImageNamed:(id)fp8 removeOnExit:(BOOL)fp12;
@end
#define HOOK(class, name, type, args...) \
@ -62,7 +59,7 @@ HOOK(SpringBoard, applicationDidFinishLaunching$, void, id app) {
CALL_ORIG(SpringBoard, applicationDidFinishLaunching$, app);
CFMessagePortRef local = CFMessagePortCreateLocal(NULL, CFSTR("SpringBoardAccess"), myCallBack, NULL, false);
CFMessagePortRef local = CFMessagePortCreateLocal(NULL, CFSTR(SBA_MessagePortName), myCallBack, NULL, false);
CFRunLoopSourceRef source = CFMessagePortCreateRunLoopSource(NULL, local, 0);
CFRunLoopAddSource(CFRunLoopGetCurrent(), source, kCFRunLoopDefaultMode);
@ -73,11 +70,6 @@ HOOK(SpringBoard, applicationDidFinishLaunching$, void, id app) {
extern "C" void SpringBoardAccessInitialize(){
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// NOTE: This library should only be loaded for SpringBoard
NSString *identifier = [[NSBundle mainBundle] bundleIdentifier];
if (![identifier isEqualToString:@"com.apple.springboard"])
return;
NSLog(@"SpringBoardAccessInitialize called for SpringBoard!");
// Setup hooks

View File

@ -4,7 +4,7 @@ Last milestone reached: BTdaemon automatically started by launchd on Mac and iPh
NEXT:
- check why test.c does not start up instantly when Bluetooth is already turned on
- clean up debug output: messages to stdou, errors to stderr
- clean up debug output: messages to stdout, errors to stderr
- decide on error reporting from BTdaemon
- command_status_event with custom errors
- hci open failed
@ -12,7 +12,6 @@ NEXT:
- create script to build APT package
- create new pgp key for gmail account and sign APT package
- provide test version by setting up APT repository within BTstack SVN
== Release Version 0.1
- implement rest of L2CAP state machine
- incoming connections