From e37693b868cb94b5b3ee85ef18c8f2d03246f427 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 1 Oct 2008 20:49:20 +0000 Subject: [PATCH] kUIButtonBarButtonAction*, UIAppl, UIProgressIndicatorStyle, NSURL (UIKitAdditions) --- UIKit/NSURL-UIKitAdditions.h | 2 +- UIKit/UIKit.h | 32 ++++++++++++++++++++++++++++---- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/UIKit/NSURL-UIKitAdditions.h b/UIKit/NSURL-UIKitAdditions.h index 44a67dd..28a6619 100644 --- a/UIKit/NSURL-UIKitAdditions.h +++ b/UIKit/NSURL-UIKitAdditions.h @@ -4,7 +4,7 @@ * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard. */ -#import "NSURL.h" +#import @interface NSURL (UIKitAdditions) + (id)URLWithTelephoneNumber:(id)fp8; diff --git a/UIKit/UIKit.h b/UIKit/UIKit.h index 73d559f..024de93 100644 --- a/UIKit/UIKit.h +++ b/UIKit/UIKit.h @@ -130,6 +130,15 @@ typedef enum { UINavigationButtonStyleDestructive } UINavigationButtonStyle; +typedef enum { + UIProgressIndicatorStyleLargeWhite, + UIProgressIndicatorStyleMediumWhite, + UIProgressIndicatorStyleMediumBrown, + UIProgressIndicatorStyleSmallWhite, + UIProgressIndicatorStyleSmallBlack, + UIProgressIndicatorStyleTinyWhite, +} UIProgressIndicatorStyle; + typedef enum { UITableViewCellEditingStyleNone, UITableViewCellEditingStyleDelete, @@ -263,6 +272,8 @@ enum { #import #import +#import + #import #ifdef __cplusplus @@ -278,10 +289,17 @@ void UIApplicationUseLegacyEvents(BOOL use); void UIKeyboardEnableAutomaticAppearance(void); void UIKeyboardDisableAutomaticAppearance(void); - -#ifdef __cplusplus -} -#endif +extern NSString * const kUIButtonBarButtonAction; +extern NSString * const kUIButtonBarButtonInfo; +extern NSString * const kUIButtonBarButtonInfoOffset; +extern NSString * const kUIButtonBarButtonSelectedInfo; +extern NSString * const kUIButtonBarButtonStyle; +extern NSString * const kUIButtonBarButtonTag; +extern NSString * const kUIButtonBarButtonTarget; +extern NSString * const kUIButtonBarButtonTitle; +extern NSString * const kUIButtonBarButtonTitleVerticalHeight; +extern NSString * const kUIButtonBarButtonTitleWidth; +extern NSString * const kUIButtonBarButtonType; extern NSString * const UIKeyboardWillShowNotification; extern NSString * const UIKeyboardDidShowNotification; @@ -294,4 +312,10 @@ extern NSString * const UIKeyboardBoundsUserInfoKey; extern NSString * const UIWebViewDidReceiveMessageNotification; extern NSString * const UIWebViewDidClearMessagesNotification; +extern UIApplication * const UIApp; + +#ifdef __cplusplus +} +#endif + #endif//UIKIT_UIKIT_H_ -- 2.45.2