summaryrefslogtreecommitdiff
path: root/iPhonePrivate.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-05-16 20:26:07 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2014-05-16 20:26:07 -0700
commit3e5a9f5d3097f16c99b57d476c986e13325762c5 (patch)
treec75a40c3b91fa1a5b928e5cbfc670356a16b3de4 /iPhonePrivate.h
parent20d59843c0902fc663f66f32cb906cbe7869cb57 (diff)
Port build environment to Xcode 5.0.2 (iOS 7 SDK).
Diffstat (limited to 'iPhonePrivate.h')
-rw-r--r--iPhonePrivate.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/iPhonePrivate.h b/iPhonePrivate.h
index e9806d8..d085dd9 100644
--- a/iPhonePrivate.h
+++ b/iPhonePrivate.h
@@ -234,6 +234,10 @@ static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleWhiteTiny(
- (void) addTarget:(id)target action:(SEL)action forEvents:(NSInteger)events;
@end
+@interface UIDevice (Apple)
+- (NSString *) uniqueIdentifier;
+@end
+
@interface UIImage (Apple)
+ (UIImage *) applicationImageNamed:(NSString *)name;
+ (UIImage *) imageAtPath:(NSString *)path;
@@ -408,17 +412,6 @@ extern float const UIScrollViewDecelerationRateNormal;
- (WebFrame *) contentFrame;
@end
-typedef enum {
- UIInterfaceOrientationMaskPortrait = (1 << UIInterfaceOrientationPortrait),
- UIInterfaceOrientationMaskLandscapeLeft = (1 << UIInterfaceOrientationLandscapeLeft),
- UIInterfaceOrientationMaskLandscapeRight = (1 << UIInterfaceOrientationLandscapeRight),
- UIInterfaceOrientationMaskPortraitUpsideDown = (1 << UIInterfaceOrientationPortraitUpsideDown),
- UIInterfaceOrientationMaskLandscape = (UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight),
- UIInterfaceOrientationMaskAll = (UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskLandscapeLeft |
- UIInterfaceOrientationMaskLandscapeRight | UIInterfaceOrientationMaskPortraitUpsideDown),
- UIInterfaceOrientationMaskAllButUpsideDown = (UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight),
-} UIInterfaceOrientationMask;
-
// extern *; {{{
extern CFStringRef const kGSDisplayIdentifiersCapability;
extern float const UIWebViewGrowsAndShrinksToFitHeight;