Additional header file patches for open toolchain
出自iPhone.org.hk
目錄 |
GraphicsServices/GraphicsServices.h
CGPoint GSEventGetLocationInWindow(GSEvent *ev);
改為
struct CGRect GSEventGetLocationInWindow(GSEvent *ev);
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;
UIKit/UIKit.h
加這行
#import <GraphicsServices/GraphicsServices.h>
UIKit/UIHardware.h
#import <Foundation/Foundation.h> @interface UIHardware : NSObject
改為
#import <UIKit/UIView.h> @interface UIHardware : UIView