X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/df19d3702697ea1e2aa5ac76dd5121ceb5a7660a..e8eda555ed7af2b5b11455c1db937e5f4b2c0e3e:/iPhonePrivate.h?ds=sidebyside diff --git a/iPhonePrivate.h b/iPhonePrivate.h index a9e11e2a..b5a59594 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -61,9 +61,9 @@ typedef enum { @end @interface UIProgressHUD : UIView -- (id) initWithWindow:(UIWindow *)window; +- (void) hide; - (void) setText:(NSString *)text; -- (void) show:(BOOL)show; +- (void) showInView:(UIView *)view; @end @interface UIProgressIndicator : UIView @@ -149,8 +149,21 @@ typedef enum { + (WebDefaultUIKitDelegate *) sharedUIKitDelegate; @end // }}} +// @interface UIWeb* : * {{{ +@interface UIWebBrowserView : UIWebDocumentView +@end + +@interface UIWebTouchEventsGestureRecognizer : UIGestureRecognizer +- (int) type; +- (NSString *) _typeDescription; +@end +// }}} // @interface NS* (*) {{{ +@interface NSMutableURLRequest (Apple) +- (void) setHTTPShouldUsePipelining:(BOOL)pipelining; +@end + @interface NSString (Apple) - (NSString *) stringByAddingPercentEscapes; - (NSString *) stringByReplacingCharacter:(UniChar)from withCharacter:(UniChar)to; @@ -166,6 +179,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 +213,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; @@ -289,6 +308,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 +378,14 @@ 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 + // extern *; {{{ extern CFStringRef const kGSDisplayIdentifiersCapability; extern float const UIWebViewGrowsAndShrinksToFitHeight;