Revision 62ea6d49 Classes/OpenStackRequest.h

b/Classes/OpenStackRequest.h
10 10

  
11 11
@class OpenStackAccount, Container, StorageObject, APICallback, ErrorAlerter;
12 12

  
13
enum {
14
    OpenStackRequestTypeUserCatalog = 0,
15
    OpenStackRequestTypeAuthEndpoint = 1
16
};
17
typedef NSInteger OpenStackRequestType;
18

  
13 19
@interface OpenStackRequest : ASIHTTPRequest <NSCopying> {
14 20
    OpenStackAccount *account;
15 21
    ASIBasicBlock backupCompletionBlock;
16 22
    ASIBasicBlock backupFailureBlock;
17 23
    APICallback *callback;
18 24
    BOOL retryWithUpdatedURL;
25
    NSURL *retryBaseURL;
26
    OpenStackRequestType retryType;
19 27
    NSString *followUpSelectorString;
20 28
    NSURL *notificationURL;
21 29
}
......
24 32
@property (nonatomic, retain) APICallback *callback;
25 33
@property (nonatomic, retain) ErrorAlerter *errorAlerter;
26 34
@property (nonatomic, assign) BOOL retryWithUpdatedURL;
35
@property (nonatomic, retain) NSURL *retryBaseURL;
36
@property (nonatomic, assign) OpenStackRequestType retryType;
27 37
@property (nonatomic, retain) NSString *followUpSelectorString;
28 38
@property (nonatomic, retain) NSURL *notificationURL;
29 39

  

Also available in: Unified diff