use simple forward declaration instead of including SpringBoard.h

This commit is contained in:
matthias.ringwald 2009-09-20 09:07:40 +00:00
parent 41ca7e59fc
commit 82010c061f
3 changed files with 10 additions and 2 deletions

View File

@ -17,7 +17,7 @@ APP_LDFLAGS = -framework CoreFoundation
all: $(NAME).dylib $(NAME)-test
clean:
rm -f $(NAME).dylib
rm -f $(NAME).dylib $(NAME)-test
$(NAME).dylib: $(NAME).mm
$(OBJC) $(CPPFLAGS) -dynamiclib -o $@ $(NAME).mm -init _$(NAME)Initialize $(LDFLAGS) $(LIB_LDFLAGS)

View File

@ -1,3 +1,9 @@
//
// SpringBoardAccess.m
//
// Created by Matthias Ringwald on 9/15/09.
//
#import <CoreFoundation/CoreFoundation.h>
main() {

View File

@ -6,9 +6,11 @@
#import <Foundation/Foundation.h>
#import <CoreFoundation/CoreFoundation.h>
#import <UIKit/UIKit.h>
#import "../3rdparty/substrate.h"
#import "../3rdparty/SpringBoard.h"
class SpringBoard;
@interface UIApplication (privateStatusBarIconAPI)
- (void)addStatusBarImageNamed:(id)fp8 removeOnAbnormalExit:(BOOL)fp12;