Skip to content

Commit 567c0a1

Browse files
committedFeb 4, 2010
SpringBoard 3.2
1 parent 422faca commit 567c0a1

File tree

106 files changed

+1943
-135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+1943
-135
lines changed
 

‎SpringBoard/NSString.h

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@
66
*/
77

88
#import <Foundation/NSString.h>
9-
9+
#import <Availability2.h>
1010

1111
@interface NSString (Formatting)
1212
-(id)ICCID;
1313
-(id)IMEI;
1414
@end
1515

16+
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
17+
@interface NSString (SBDeviceLockEntryFieldExtras)
18+
-(BOOL)isSingleCharacterAndMemberOfSet:(CFCharacterSetRef)set;
19+
-(BOOL)isNewline;
20+
@end
21+
#endif

‎SpringBoard/SBAccelerometerInterface.h

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#import "SpringBoard-Structs.h"
99
#import <Foundation/NSObject.h>
10+
#import <Availability2.h>
1011

1112
@class NSMutableArray, NSLock;
1213

@@ -16,13 +17,18 @@
1617
double _topDisplayLastUpdateTime;
1718
double _topDisplayInterval;
1819
NSMutableArray* _clients;
20+
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
21+
BOOL _springBoardWantsEvents;
22+
#endif
1923
}
2024
// inherited: +(void)initialize;
2125
+(SBAccelerometerInterface*)sharedInstance;
2226
// inherited: -(id)init;
2327
// inherited: -(void)dealloc;
2428
-(void)updateSettings;
2529

30+
-(void)setSpringBoardWantsEvents:(BOOL)events __OSX_AVAILABLE_STARTING(__MAC_NA, __IPHONE_3_2);
31+
2632
// set up a client to the mach port "port".
2733

2834
-(void)clientRequestedAccelerometerEvents:(mach_port_t)port

0 commit comments

Comments
 (0)
Please sign in to comment.