diff options
Diffstat (limited to 'example/ios/iOS UI Test/iOS UI Test/MCOCIDURLProtocol.h')
-rwxr-xr-x | example/ios/iOS UI Test/iOS UI Test/MCOCIDURLProtocol.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/example/ios/iOS UI Test/iOS UI Test/MCOCIDURLProtocol.h b/example/ios/iOS UI Test/iOS UI Test/MCOCIDURLProtocol.h new file mode 100755 index 00000000..ac4b0f2b --- /dev/null +++ b/example/ios/iOS UI Test/iOS UI Test/MCOCIDURLProtocol.h @@ -0,0 +1,31 @@ +// +// MCTCIDURLProtocol.h +// testUI +// +// Created by DINH Viêt Hoà on 1/22/13. +// Copyright (c) 2013 MailCore. All rights reserved. +// + +#import <Foundation/Foundation.h> + +#include <MailCore/MailCore.h> + +@interface MCOCIDURLProtocol : NSURLProtocol + ++ (void) registerProtocol; + ++ (BOOL) isCID:(NSURL *)url; ++ (BOOL) isXMailcoreImage:(NSURL *)url; + +#ifdef __cplusplus ++ (void) startLoadingWithMessage:(MCOAbstractMessage *)message + partUniqueID:(NSString *)partUniqueID + data:(NSData *)data + request:(NSMutableURLRequest *)request; + ++ (void) partDownloadedMessage:(MCOAbstractMessage *)message + partUniqueID:(NSString *)partUniqueID + data:(NSData *)data; +#endif + +@end |