Revision 0224a49f pithos-macos/PithosUtilities.h
b/pithos-macos/PithosUtilities.h | ||
---|---|---|
38 | 38 |
@class ASIPithosRequest; |
39 | 39 |
@class ASIPithosContainerRequest; |
40 | 40 |
@class ASIPithosObjectRequest; |
41 |
@class ASIPithosObject; |
|
41 | 42 |
|
42 | 43 |
@interface PithosUtilities : NSObject |
43 | 44 |
|
... | ... | |
52 | 53 |
checkIfExists:(BOOL)ifExists |
53 | 54 |
sharingAccount:(NSString *)sharingAccount; |
54 | 55 |
|
56 |
|
|
57 |
+ (ASIPithosObjectRequest *)objectBlockDataRequestWithContainerName:(NSString *)containerName |
|
58 |
object:(ASIPithosObject *)object |
|
59 |
blockIndex:(NSUInteger)blockIndex |
|
60 |
blockSize:(NSUInteger)blockSize; |
|
61 |
+ (NSIndexSet *)missingBlocksForFile:(NSString *)filePath |
|
62 |
blockSize:(NSUInteger)blockSize |
|
63 |
blockHash:(NSString *)blockHash |
|
64 |
withHashes:(NSArray *)hashes; |
|
65 |
|
|
55 | 66 |
+ (ASIPithosObjectRequest *)writeObjectDataRequestWithContainerName:(NSString *)containerName |
56 | 67 |
objectName:(NSString *)objectName |
57 | 68 |
contentType:(NSString *)contentType |
... | ... | |
128 | 139 |
|
129 | 140 |
+ (NSInteger)httpRequestErrorAlertWithRequest:(ASIPithosRequest *)request; |
130 | 141 |
+ (NSInteger)unexpectedResponseStatusAlertWithRequest:(ASIPithosRequest *)request; |
142 |
+ (NSInteger)fileActionFailedAlertWithTitle:(NSString *)title message:(NSString *)message error:(NSError *)error; |
|
131 | 143 |
|
132 | 144 |
+ (ASIPithosRequest *)prepareRequest:(ASIPithosRequest *)request priority:(NSOperationQueuePriority)priority; |
133 | 145 |
+ (ASIPithosRequest *)prepareRequest:(ASIPithosRequest *)request; |
Also available in: Unified diff