Additional header file patches for open toolchain
出自iPhone.org.hk
(修訂版本間差異)
(→Others) |
|||
(29個中途的修訂版本沒有顯示。) | |||
第1行: | 第1行: | ||
- | == | + | == GraphicsServices/GraphicsServices.h == |
- | < | + | <span style="font-size:8pt"><pre>CGPoint GSEventGetLocationInWindow(GSEvent *ev);</pre></span> |
改為 | 改為 | ||
- | <pre>//#import | + | <span style="color:blue; font-size:8pt"><pre>struct CGRect GSEventGetLocationInWindow(GSEvent *ev);</pre></span> |
- | <br/> | + | <br/> |
- | <pre> | + | ---- |
+ | |||
+ | == 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 == |
- | <br/> | + | * 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