From 73e3d5d4077636487f07be1beff3b2714ee2b276 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Mon, 25 Mar 2013 15:57:26 +0000 Subject: upgrade to phonegap 2.5 for ios --- iPhone/CordovaLib/Classes/CDVFileTransfer.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'iPhone/CordovaLib/Classes/CDVFileTransfer.h') 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; -- cgit v1.2.3