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...) |
(→Others) |
||
(30個中途的修訂版本沒有顯示。) | |||
第1行: | 第1行: | ||
- | + | == 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 | + | == 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/> | |
- | + | ||
- | + | == Others == | |
- | + | * AudioToolBox | |
- | + | * CoreAudio | |
- | + | * UIWebView | |
- | + | * WebCore | |
- | <br/> | + | * 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