]> git.saurik.com Git - cydia.git/blobdiff - iPhonePrivate.h
Document what not to do with cydia://.
[cydia.git] / iPhonePrivate.h
index 47463355aa06d8418cfdc978097be42a2c4d7fb3..ea0fe349c549c3ef75369822329123c52576633e 100644 (file)
@@ -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
@@ -359,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