Additional header file patches for open toolchain

Additional header file patches for open toolchain

出自iPhone.org.hk

(修訂版本間差異)
跳轉到: 導航, 搜尋
(GraphicsServices/GraphicsServices.h)
第26行: 第26行:
改為
改為
<span style="color:blue; font-size:8pt"><pre>struct CGRect GSEventGetLocationInWindow(GSEvent *ev);</pre></span>
<span style="color:blue; font-size:8pt"><pre>struct CGRect GSEventGetLocationInWindow(GSEvent *ev);</pre></span>
 +
<br/>
 +
----
 +
 +
== UIKit/UIKit.h ==
 +
 +
加這行
 +
<span style="color:blue; font-size:8pt"><pre>#import <GraphicsServices/GraphicsServices.h></pre></span>
 +
<br/>
 +
----
 +
 +
== UIKit/UIHardware.h ==
 +
 +
<span style="font-size:8pt"><pre>#import <Foundation/Foundation.h>
 +
@interface UIHardware : NSObject</pre></span>
 +
改為
 +
<span style="color:blue; font-size:8pt"><pre>#import <UIKit/UIView.h>
 +
@interface UIHardware : UIView</pre></span>
 +
<br/>
 +
----
 +
 +
== UIKit/UISliderControl.h ==
 +
 +
<span style="font-size:8pt"><pre>- (float)value; // IMP=0x32449fe8</pre></span>
 +
改為
 +
<span style="color:blue; font-size:8pt"><pre> - (long)value; // IMP=0x32449fe8</pre></span>
 +
<br/>

在2008年6月24日 (二) 08:29所做的修訂版本

目錄

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