diff options
author | Struan Donald <struan@exo.org.uk> | 2013-03-25 15:57:26 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-03-25 17:13:56 +0000 |
commit | 73e3d5d4077636487f07be1beff3b2714ee2b276 (patch) | |
tree | 4b4529f36ab68ec7c2a9e51bcfafbd57d9336cc8 /iPhone/CordovaLib/Classes/CDVFileTransfer.h | |
parent | e5d7b3b62be5025f31c39b50ea3955398bc7cf40 (diff) |
upgrade to phonegap 2.5 for ios
Diffstat (limited to 'iPhone/CordovaLib/Classes/CDVFileTransfer.h')
-rwxr-xr-x | iPhone/CordovaLib/Classes/CDVFileTransfer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/iPhone/CordovaLib/Classes/CDVFileTransfer.h b/iPhone/CordovaLib/Classes/CDVFileTransfer.h index 76c6a95..f96bb7d 100755 --- a/iPhone/CordovaLib/Classes/CDVFileTransfer.h +++ b/iPhone/CordovaLib/Classes/CDVFileTransfer.h @@ -50,7 +50,8 @@ extern NSString* const kOptionsKeyCookie; - (NSMutableDictionary*)createFileTransferError:(int)code AndSource :(NSString*)source AndTarget :(NSString*)target - AndHttpStatus :(int)httpStatus; + AndHttpStatus :(int)httpStatus + AndBody :(NSString*)body; @property (readonly) NSMutableDictionary* activeTransfers; @end @@ -64,8 +65,10 @@ extern NSString* const kOptionsKeyCookie; @property (nonatomic, copy) NSString* objectId; @property (nonatomic, copy) NSString* source; @property (nonatomic, copy) NSString* target; +@property (nonatomic, copy) NSString* mimeType; @property (assign) int responseCode; // atomic @property (nonatomic, assign) NSInteger bytesTransfered; @property (nonatomic, assign) NSInteger bytesExpected; +@property (nonatomic, assign) BOOL trustAllHosts; @end; |