X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/d50f42a9dced69914a1f521b0cec78393d0159d9..eceab8e673ae89e18c01aac0563ff6056b0d7a55:/iPhonePrivate.h diff --git a/iPhonePrivate.h b/iPhonePrivate.h index f93602f2..678b8b62 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -295,11 +295,38 @@ typedef enum { @end // }}} -// extern *; {{{ -extern "C" CFStringRef const kGSDisplayIdentifiersCapability; +// #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 + +typedef enum { + UIModalPresentationFullScreen, + UIModalPresentationPageSheet, + UIModalPresentationFormSheet, + UIModalPresentationCurrentContext, +} UIModalPresentationStyle; + +#define kSCNetworkReachabilityFlagsConnectionOnTraffic kSCNetworkReachabilityFlagsConnectionAutomatic +#define kSCNetworkReachabilityFlagsConnectionOnDemand (1 << 5) + +@class NSUndoManager; +@class UIPasteboard; + +@interface UIActionSheet (iPad) +- (void) showFromBarButtonItem:(UIBarButtonItem *)item animated:(BOOL)animated; +@end + +@interface UIViewController (iPad) +- (void) setModalPresentationStyle:(UIModalPresentationStyle)style; +@end -extern "C" float const UIWebViewGrowsAndShrinksToFitHeight; -extern "C" float const UIWebViewScalesToFitScale; +#endif//AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER +// }}} + +// extern *; {{{ +extern CFStringRef const kGSDisplayIdentifiersCapability; +extern float const UIWebViewGrowsAndShrinksToFitHeight; +extern float const UIWebViewScalesToFitScale; // }}} // extern "C" *(); {{{ extern "C" UIImage *_UIImageWithName(NSString *name);