X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/72bdb25841675b854c4f782dd0a3f6decd928a3f..5c624298a1145bdcd7e279642f9155ab114b94c2:/iPhonePrivate.h diff --git a/iPhonePrivate.h b/iPhonePrivate.h index 47463355..fdcb147b 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -166,6 +166,11 @@ typedef enum { - (NSURL *) youTubeURL; @end +@interface NSURLRequest (Apple) ++ (BOOL) allowsAnyHTTPSCertificateForHost:(NSString *)host; ++ (void) setAllowsAnyHTTPSCertificate:(BOOL)allow forHost:(NSString *)host; +@end + @interface NSValue (Apple) + (NSValue *) valueWithSize:(CGSize)size; @end @@ -195,6 +200,7 @@ typedef enum { - (void) applicationWillResignActive:(UIApplication *)application; - (void) applicationWillSuspend; - (void) launchApplicationWithIdentifier:(NSString *)identifier suspended:(BOOL)suspended; +- (void) openURL:(NSURL *)url asPanel:(BOOL)panel; - (void) setStatusBarShowsProgress:(BOOL)shows; - (void) _setSuspended:(BOOL)suspended; - (void) terminateWithSuccess; @@ -359,6 +365,10 @@ extern float const UIScrollViewDecelerationRateNormal; #endif // }}} +#ifndef kCFCoreFoundationVersionNumber_iPhoneOS_4_0 +#define kCFCoreFoundationVersionNumber_iPhoneOS_4_0 550.32 +#endif + @interface UIScreen (iOS_4_0) @property(nonatomic,readonly) CGFloat scale; @end