#ifndef CYDIA_UIKITPRIVATE_H
+#define CYDIA_UIKITPRIVATE_H
+// #include <*> {{{
#include <GraphicsServices/GraphicsServices.h>
-
+// }}}
+// typedef enum {*} *; {{{
typedef enum {
UIGestureAttributeMinDegrees, /*float*/
UIGestureAttributeMaxDegrees, /*float*/
UIProgressIndicatorStyleSmallBlack,
UIProgressIndicatorStyleTinyWhite,
} UIProgressIndicatorStyle;
-
-
+// }}}
+// @class *; {{{
@class WebView;
+// }}}
-
+// @interface NS* (*) {{{
@interface NSString (Apple)
-- (void) drawAtPoint:(CGPoint)point forWidth:(float)width withFont:(UIFont *)font ellipsis:(NSInteger)ellipsis;
- (NSString *) stringByAddingPercentEscapes;
- (NSString *) stringByReplacingCharacter:(UniChar)from withCharacter:(UniChar)to;
@end
@interface NSValue (Apple)
+ (NSValue *) valueWithSize:(CGSize)size;
@end
-
-
+// }}}
+// @interface UI* (*) {{{
@interface UIActionSheet (Apple)
+- (void) setContext:(NSString *)context;
- (NSString *) context;
@end
- (UIView *) view;
@end
-@interface UIColor (Apple)
-+ (UIColor *) pinStripeColor;
-@end
-
@interface UIControl (Apple)
- (void) addTarget:(id)target action:(SEL)action forEvents:(NSInteger)events;
@end
- (void) makeKey:(UIApplication *)application;
- (void) orderFront:(UIApplication *)application;
@end
+// }}}
-
+// @interface * : UIView {{{
@interface UIFormAssistant : UIView
+ (UIFormAssistant *) sharedFormAssistant;
- (CGRect) peripheralFrame;
- (void) webViewDidPreventDefaultForEvent:(WebView *)view;
- (void) webViewFormEditedStatusHasChanged:(WebView *)changed;
@end
-
-
+// }}}
+// @interface *Button : * {{{
@interface UINavigationButton : UIButton
- (id) initWithTitle:(NSString *)title style:(UINavigationButtonStyle)style;
- (void) setBarStyle:(UIBarStyle)style;
@interface UIThreePartButton : UIPushButton
@end
-
-
+// }}}
+// @interface * : NS* {{{
@interface WebDefaultUIKitDelegate : NSObject
+ (WebDefaultUIKitDelegate *) sharedUIKitDelegate;
@end
+// }}}
+
+// #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)
-extern "C" CFStringRef const kGSDisplayIdentifiersCapability;
+@class NSUndoManager;
+@class UIPasteboard;
-extern "C" float const UIWebViewGrowsAndShrinksToFitHeight;
-extern "C" float const UIWebViewScalesToFitScale;
+@interface UIActionSheet (iPad)
+- (void) showFromBarButtonItem:(UIBarButtonItem *)item animated:(BOOL)animated;
+@end
+@interface UIViewController (iPad)
+- (void) setModalPresentationStyle:(UIModalPresentationStyle)style;
+@end
+#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);
extern "C" void UISetColor(CGColorRef color);
-
+// }}}
#endif//CYDIA_UIKITPRIVATE_H