]> git.saurik.com Git - cydia.git/blobdiff - iPhonePrivate.h
Support ShowInternals in more places.
[cydia.git] / iPhonePrivate.h
index e6a79dce45a5a7d0102be9624a60231508e27cbe..96d3f10dd6c3a2e75c68b16c722b83d76e400535 100644 (file)
@@ -237,6 +237,8 @@ typedef enum {
 
 @interface UITabBarController (Apple)
 - (UITransitionView *) _transitionView;
+- (void) concealTabBarSelection;
+- (void) revealTabBarSelection;
 @end
 
 @interface UITabBarItem (Apple)
@@ -307,6 +309,7 @@ typedef enum {
 // #ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER {{{
 #ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
 #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
+// XXX: this is a random jumble of garbage
 
 typedef enum {
     UIModalPresentationFullScreen,
@@ -316,7 +319,6 @@ typedef enum {
 } UIModalPresentationStyle;
 
 #define kSCNetworkReachabilityFlagsConnectionOnTraffic kSCNetworkReachabilityFlagsConnectionAutomatic
-#define kSCNetworkReachabilityFlagsConnectionOnDemand (1 << 5)
 
 #define UIBarStyleBlack UIBarStyleBlackOpaque
 
@@ -331,18 +333,34 @@ typedef enum {
 - (void) setModalPresentationStyle:(UIModalPresentationStyle)style;
 @end
 
+@interface UIApplication (iOS_3_0)
+@property(nonatomic) BOOL applicationSupportsShakeToEdit;
+@end
+
 @interface UIScrollView (iOS_3_0)
-@property(assign, nonatomic) float decelerationRate;
+@property(assign,nonatomic) float decelerationRate;
 @end
 
 @interface UIWebView (iOS_3_0)
-@property(assign, nonatomic) NSUInteger dataDetectorTypes;
+@property(assign,nonatomic) NSUInteger dataDetectorTypes;
 @end
 
 extern float const UIScrollViewDecelerationRateNormal;
 
 #endif//AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
 // }}}
+// #if __IPHONE_OS_VERSION_MIN_REQUIRED < 30000 {{{
+#if __IPHONE_OS_VERSION_MIN_REQUIRED < 30000
+
+#define kSCNetworkReachabilityFlagsConnectionOnDemand (1 << 5)
+#define kCFCoreFoundationVersionNumber_iPhoneOS_3_0 478.47
+
+#endif
+// }}}
+
+@interface UIScreen (iOS_4_0)
+@property(nonatomic,readonly) CGFloat scale;
+@end
 
 // extern *; {{{
 extern CFStringRef const kGSDisplayIdentifiersCapability;
@@ -350,6 +368,8 @@ extern float const UIWebViewGrowsAndShrinksToFitHeight;
 extern float const UIWebViewScalesToFitScale;
 // }}}
 // extern "C" *(); {{{
+extern "C" void *reboot2(uint64_t flags);
+extern "C" mach_port_t SBSSpringBoardServerPort();
 extern "C" UIImage *_UIImageWithName(NSString *name);
 extern "C" void UISetColor(CGColorRef color);
 // }}}