X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/5e640a6470aedd93d656f8af152fecc30d1258c0..3f88f20507c0870b890db839c17186d6928fae29:/iPhonePrivate.h diff --git a/iPhonePrivate.h b/iPhonePrivate.h index c17da916..d085dd96 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -3,8 +3,11 @@ // #include <*> {{{ #include +#include // }}} // #import <*> {{{ +#import +#import #import // }}} // typedef enum {*} *; {{{ @@ -26,14 +29,9 @@ typedef enum { UINavigationButtonStyleDestructive } UINavigationButtonStyle; -typedef enum { - UIProgressIndicatorStyleLargeWhite, - UIProgressIndicatorStyleMediumWhite, - UIProgressIndicatorStyleMediumBrown, - UIProgressIndicatorStyleSmallWhite, - UIProgressIndicatorStyleSmallBlack, - UIProgressIndicatorStyleTinyWhite, -} UIProgressIndicatorStyle; +static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleWhiteSmall(static_cast(3)); +static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleGraySmall(static_cast(4)); +static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleWhiteTiny(static_cast(5)); // }}} // #define * * {{{ #define UIDataDetectorTypeAutomatic 0x80000000 @@ -69,13 +67,6 @@ typedef enum { - (void) showInView:(UIView *)view; @end -@interface UIProgressIndicator : UIView -+ (CGSize) defaultSizeForStyle:(NSUInteger)style; -- (NSUInteger) activityIndicatorViewStyle; -- (void) setStyle:(UIProgressIndicatorStyle)style; -- (void) startAnimation; -@end - @interface UIScroller : UIView - (CGSize) contentSize; - (void) setDirectionalScrolling:(BOOL)directional; @@ -165,6 +156,11 @@ typedef enum { - (NSString *) _typeDescription; @end // }}} +// @interface WAK* : * {{{ +@interface WAKWindow : NSObject ++ (BOOL) hasLandscapeOrientation; +@end +// }}} // @interface NS* (*) {{{ @interface NSMutableURLRequest (Apple) @@ -239,7 +235,7 @@ typedef enum { @end @interface UIDevice (Apple) -- (BOOL) isWildcat; +- (NSString *) uniqueIdentifier; @end @interface UIImage (Apple) @@ -269,6 +265,7 @@ typedef enum { @interface UITabBarItem (Apple) - (void) setAnimatedBadge:(BOOL)animated; +- (UIView *) view; @end @interface UITableViewCell (Apple) @@ -298,6 +295,7 @@ typedef enum { - (void) setValue:(NSValue *)value forGestureAttribute:(NSInteger)attribute; - (void) setZoomScale:(float)scale duration:(double)duration; - (void) _setZoomScale:(float)scale duration:(double)duration; +- (void) setOrigin:(CGPoint)origin; @end @interface UIViewController (Apple) @@ -335,6 +333,10 @@ typedef enum { @end // }}} // @interface Web* (*) {{{ +@interface WebFrame (Apple) +- (void) setNeedsLayout; +@end + @interface WebPreferences (Apple) + (void) _setInitialDefaultTextEncodingToSystemEncoding; - (void) _setLayoutInterval:(NSInteger)interval; @@ -398,10 +400,18 @@ extern float const UIScrollViewDecelerationRateNormal; #define kCFCoreFoundationVersionNumber_iPhoneOS_4_0 550.32 #endif +@interface UITabBarItem (iOS_7_0) +- (id) initWithTitle:(NSString *)title image:(UIImage *)image selectedImage:(UIImage *)selectedImage; +@end + @interface UIScreen (iOS_4_0) @property(nonatomic,readonly) CGFloat scale; @end +@interface DOMHTMLIFrameElement (IDL) +- (WebFrame *) contentFrame; +@end + // extern *; {{{ extern CFStringRef const kGSDisplayIdentifiersCapability; extern float const UIWebViewGrowsAndShrinksToFitHeight; @@ -410,6 +420,7 @@ extern float const UIWebViewScalesToFitScale; // extern "C" *(); {{{ extern "C" void *reboot2(uint64_t flags); extern "C" mach_port_t SBSSpringBoardServerPort(); +extern "C" int SBBundlePathForDisplayIdentifier(mach_port_t port, const char *identifier, char *path); extern "C" UIImage *_UIImageWithName(NSString *name); extern "C" void UISetColor(CGColorRef color); // }}}