Additional header file patches for open toolchain

Additional header file patches for open toolchain

出自iPhone.org.hk

在2008年6月24日 (二) 08:29由Javacom (對話 | 貢獻)所做的修訂版本
跳轉到: 導航, 搜尋

目錄

UIKit/UIWebView.h

#import "UIKeyboardInputProtocol.h"

改為

//#import "UIKeyboardInputProtocol.h"


@class DOMHTMLElement, DOMNode, DOMNode<UIFormControl>, NSTimer, UIAutoscrollTimer,
 UIInformalDelegate, UITextLoupe, UITextTraits, UITextView, UIView, WebPDFView, WebView;

改為

@class DOMHTMLElement, DOMNode, DOMNode/*<UIFormControl>*/, NSTimer, UIAutoscrollTimer,
 UIInformalDelegate, UITextLoupe, UITextTraits, UITextView, UIView, WebPDFView, WebView;


@interface UIWebView : UITiledView <UIKeyboardInput>

改為

@interface UIWebView : UITiledView /*<UIKeyboardInput>*/


DOMNode<UIFormControl> *element;

改為

DOMNode/*<UIFormControl>*/ *element;



GraphicsServices/GraphicsServices.h

CGPoint GSEventGetLocationInWindow(GSEvent *ev);

改為

struct CGRect GSEventGetLocationInWindow(GSEvent *ev);



UIKit/UIKit.h

加這行

#import <GraphicsServices/GraphicsServices.h>



UIKit/UIHardware.h

#import <Foundation/Foundation.h>
@interface UIHardware : NSObject

改為

#import <UIKit/UIView.h>
@interface UIHardware : UIView



UIKit/UISliderControl.h

- (float)value;       // IMP=0x32449fe8

改為

 - (long)value;        // IMP=0x32449fe8