Additional header file patches for open toolchain

Additional header file patches for open toolchain

出自iPhone.org.hk

(修訂版本間差異)
跳轉到: 導航, 搜尋
(GraphicsServices/GraphicsServices.h)
當前修訂版本 (2008年6月24日 (二) 08:52) (編輯) (撤銷)
(Others)
 
(6個中途的修訂版本沒有顯示。)
第1行: 第1行:
-
== UIKit/UIWebView.h ==
+
== GraphicsServices/GraphicsServices.h ==
-
<span style="font-size:8pt"><pre>#import "UIKeyboardInputProtocol.h"</pre></span>
+
<span style="font-size:8pt"><pre>CGPoint GSEventGetLocationInWindow(GSEvent *ev);</pre></span>
改為
改為
-
<span style="color:blue; font-size:8pt"><pre>//#import "UIKeyboardInputProtocol.h"</pre></span>
+
<span style="color:blue; font-size:8pt"><pre>struct CGRect GSEventGetLocationInWindow(GSEvent *ev);</pre></span>
-
<br/>
+
-
<span style="font-size:8pt"><pre>@class DOMHTMLElement, DOMNode, DOMNode<UIFormControl>, NSTimer, UIAutoscrollTimer,
+
-
UIInformalDelegate, UITextLoupe, UITextTraits, UITextView, UIView, WebPDFView, WebView;</pre></span>
+
-
改為
+
-
<span style="color:blue; font-size:8pt"><pre>@class DOMHTMLElement, DOMNode, DOMNode/*<UIFormControl>*/, NSTimer, UIAutoscrollTimer,
+
-
UIInformalDelegate, UITextLoupe, UITextTraits, UITextView, UIView, WebPDFView, WebView;</pre></span>
+
-
<br/>
+
-
<span style="font-size:8pt"><pre>@interface UIWebView : UITiledView <UIKeyboardInput></pre></span>
+
-
改為
+
-
<span style="color:blue; font-size:8pt"><pre>@interface UIWebView : UITiledView /*<UIKeyboardInput>*/</pre></span>
+
-
<br/>
+
-
<span style="font-size:8pt"><pre>DOMNode<UIFormControl> *element;</pre></span>
+
-
改為
+
-
<span style="color:blue; font-size:8pt"><pre>DOMNode/*<UIFormControl>*/ *element;</pre></span>
+
<br/>
<br/>
----
----
-
== GraphicsServices/GraphicsServices.h ==
+
== UIKit/UIKit.h ==
-
<span style="font-size:8pt"><pre>CGPoint GSEventGetLocationInWindow(GSEvent *ev);</pre></span>
+
加這行
 +
<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>
改為
改為
-
<font color=blue><span style="font-size:8pt"><pre>struct CGRect GSEventGetLocationInWindow(GSEvent *ev);</pre></span></font>
+
<span style="color:blue; font-size:8pt"><pre>#import <UIKit/UIView.h>
 +
@interface UIHardware : UIView</pre></span>
 +
<br/>
 +
 
 +
== Others ==
 +
* AudioToolBox
 +
* CoreAudio
 +
* UIWebView
 +
* WebCore
 +
* WebKit
 +
[[http://www.iphone.org.hk/attach/31561-header-patch.tgz download from here]]

當前修訂版本

目錄

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


Others

  • AudioToolBox
  • CoreAudio
  • UIWebView
  • WebCore
  • WebKit

[download from here]