X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/57e8b2254bfa8b4477bfe50c49063efd284e0346..6ffdaae37da1b4c63d067805fc279ef5cbe847e5:/iPhonePrivate.h diff --git a/iPhonePrivate.h b/iPhonePrivate.h index 96d3f10d..ea0fe349 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 @@ -289,6 +294,7 @@ typedef enum { - (UIScrollView *) _scrollView; - (UIScroller *) _scroller; - (void) _updateViewSettings; +- (void) webView:(WebView *)view addMessageToConsole:(NSDictionary *)message; //- (WebView *) webView:(WebView *)view createWebViewWithRequest:(NSURLRequest *)request; - (void) webView:(WebView *)view decidePolicyForNavigationAction:(NSDictionary *)action request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id)listener; - (void) webView:(WebView *)view decidePolicyForNewWindowAction:(NSDictionary *)action request:(NSURLRequest *)request newFrameName:(NSString *)name decisionListener:(id)listener; @@ -358,6 +364,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