X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/5a6527386d914994e00cfe78caff1df7f8c72cbd..3f9ab807eeb8ad325601951101feb916fdfe655c:/iPhonePrivate.h diff --git a/iPhonePrivate.h b/iPhonePrivate.h index b74cc647..e9df9180 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 @@ -151,6 +151,10 @@ typedef enum { // }}} // @interface NS* (*) {{{ +@interface NSMutableURLRequest (Apple) +- (void) setHTTPShouldUsePipelining:(BOOL)pipelining; +@end + @interface NSString (Apple) - (NSString *) stringByAddingPercentEscapes; - (NSString *) stringByReplacingCharacter:(UniChar)from withCharacter:(UniChar)to; @@ -200,6 +204,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; @@ -364,6 +369,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