Additional header file patches for open toolchain

Additional header file patches for open toolchain

出自iPhone.org.hk

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


Others

  • AudioToolBox
  • CoreAudio
  • UIWebView
  • WebCore
  • WebKit

[download from here]