// #include <*> {{{
#include <GraphicsServices/GraphicsServices.h>
+#include <UIKit/UIKit.h>
+// }}}
+// #import <*> {{{
+#import <WebKit/DOMHTMLIFrameElement.h>
+#import <WebKit/WebFrame.h>
+#import <WebKit/WebPreferences.h>
// }}}
// typedef enum {*} *; {{{
typedef enum {
UINavigationButtonStyleDestructive
} UINavigationButtonStyle;
-typedef enum {
- UIProgressIndicatorStyleLargeWhite,
- UIProgressIndicatorStyleMediumWhite,
- UIProgressIndicatorStyleMediumBrown,
- UIProgressIndicatorStyleSmallWhite,
- UIProgressIndicatorStyleSmallBlack,
- UIProgressIndicatorStyleTinyWhite,
-} UIProgressIndicatorStyle;
+static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleWhiteSmall(static_cast<UIActivityIndicatorViewStyle>(3));
+static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleGraySmall(static_cast<UIActivityIndicatorViewStyle>(4));
+static const UIActivityIndicatorViewStyle UIActivityIndicatorViewStyleWhiteTiny(static_cast<UIActivityIndicatorViewStyle>(5));
// }}}
// #define * * {{{
#define UIDataDetectorTypeAutomatic 0x80000000
- (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;
- (void) setOffset:(CGPoint)offset;
- (void) setScrollDecelerationFactor:(float)factor;
- (void) setScrollHysteresis:(float)hysteresis;
+- (void) setScrollerIndicatorStyle:(UIScrollViewIndicatorStyle)style;
- (void) setThumbDetectionEnabled:(BOOL)enabled;
@end
@interface UIWebViewWebViewDelegate : NSObject {
@public UIWebView *uiWebView;
}
+
+- (void) _clearUIWebView;
+
@end
// }}}
// @interface *Button : * {{{
- (NSString *) _typeDescription;
@end
// }}}
+// @interface WAK* : * {{{
+@interface WAKWindow : NSObject
++ (BOOL) hasLandscapeOrientation;
+@end
+// }}}
// @interface NS* (*) {{{
@interface NSMutableURLRequest (Apple)
@end
@interface UIDevice (Apple)
-- (BOOL) isWildcat;
+- (NSString *) uniqueIdentifier;
@end
@interface UIImage (Apple)
@interface UITabBarItem (Apple)
- (void) setAnimatedBadge:(BOOL)animated;
+- (UIView *) view;
@end
@interface UITableViewCell (Apple)
- (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)
- (void) _updateLayoutForStatusBarAndInterfaceOrientation;
+- (void) unloadView;
@end
@interface UIWindow (Apple)
- (void) webView:(WebView *)view decidePolicyForNavigationAction:(NSDictionary *)action request:(NSURLRequest *)request frame:(WebFrame *)frame decisionListener:(id<WebPolicyDecisionListener>)listener;
- (void) webView:(WebView *)view decidePolicyForNewWindowAction:(NSDictionary *)action request:(NSURLRequest *)request newFrameName:(NSString *)name decisionListener:(id<WebPolicyDecisionListener>)listener;
- (void) webView:(WebView *)view didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame;
+- (void) webView:(WebView *)view didCommitLoadForFrame:(WebFrame *)frame;
- (void) webView:(WebView *)view didFailLoadWithError:(NSError *)error forFrame:(WebFrame *)frame;
- (void) webView:(WebView *)view didFailProvisionalLoadWithError:(NSError *)error forFrame:(WebFrame *)frame;
- (void) webView:(WebView *)view didFinishLoadForFrame:(WebFrame *)frame;
- (void) webViewClose:(WebView *)view;
@end
// }}}
+// @interface Web* (*) {{{
+@interface WebFrame (Apple)
+- (void) setNeedsLayout;
+@end
+
+@interface WebPreferences (Apple)
++ (void) _setInitialDefaultTextEncodingToSystemEncoding;
+- (void) _setLayoutInterval:(NSInteger)interval;
+- (void) setOfflineWebApplicationCacheEnabled:(BOOL)enabled;
+@end
+// }}}
// #ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER {{{
#ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
#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;
// 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);
// }}}