Additional header file patches for open toolchain
出自iPhone.org.hk
(修訂版本間差異)
(→GraphicsServices/GraphicsServices.h) |
(→Others) |
||
(22個中途的修訂版本沒有顯示。) | |||
第1行: | 第1行: | ||
- | == | + | == GraphicsServices/GraphicsServices.h == |
- | <font size | + | <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/> | <br/> | ||
---- | ---- | ||
- | == | + | == UIKit/UIKit.h == |
- | <font size | + | 加這行 |
+ | <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 size | + | <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