X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/20d59843c0902fc663f66f32cb906cbe7869cb57..3e5a9f5d3097f16c99b57d476c986e13325762c5:/iPhonePrivate.h diff --git a/iPhonePrivate.h b/iPhonePrivate.h index e9806d81..d085dd96 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;