Revision 02b6ea19 pithos-macos/PithosSyncDaemon.h

b/pithos-macos/PithosSyncDaemon.h
44 44
@interface PithosSyncDaemon : NSObject {
45 45
    NSString *directoryPath;
46 46
    PithosAccount *pithosAccount;
47
    NSString *containerName;
47
    NSDictionary *containersDictionary;
48 48
    ASIPithos *pithos;
49

  
50
    NSString *blockHash;
51
    NSUInteger blockSize;
52
    NSDate *lastModified;
49
    
50
    NSUInteger containersCount;
51
    NSMutableArray *pithosContainers;
52
    NSUInteger containersIndex;
53
    
53 54
    NSMutableArray *objects;
54 55
    NSMutableDictionary *remoteObjects;
56
    NSMutableDictionary *previousRemoteObjects;
55 57
    NSMutableDictionary *storedLocalObjectStates;
56 58
    NSMutableDictionary *currentLocalObjectStates;
57 59
    
58
    NSString *containerDirectoryPath;
59 60
    NSString *pithosStateFilePath;
60 61
    NSString *tempDownloadsDirPath;
61 62
    NSString *tempTrashDirPath;
......
76 77

  
77 78
@property (nonatomic, retain) NSString *directoryPath;
78 79
@property (nonatomic, retain) PithosAccount *pithosAccount;
79
@property (nonatomic, retain) NSString *containerName;
80
@property (nonatomic, retain) NSDictionary *containersDictionary;
80 81
@property (nonatomic, retain) ASIPithos *pithos;
81 82

  
82
@property (nonatomic, retain) NSString *blockHash;
83
@property (nonatomic, assign) NSUInteger blockSize;
84
@property (nonatomic, retain) NSDate *lastModified;
83
@property (nonatomic, retain) NSMutableArray *pithosContainers;
84

  
85 85
@property (nonatomic, retain) NSMutableDictionary *remoteObjects;
86
@property (nonatomic, retain) NSMutableDictionary *previousRemoteObjects;
86 87
@property (nonatomic, retain) NSMutableDictionary *storedLocalObjectStates;
87 88
@property (nonatomic, retain) NSMutableDictionary *currentLocalObjectStates;
88 89

  
89
@property (nonatomic, retain) NSString *containerDirectoryPath;
90 90
@property (nonatomic, readonly) NSString *pithosStateFilePath;
91 91
@property (nonatomic, readonly) NSString *tempDownloadsDirPath;
92 92
@property (nonatomic, readonly) NSString *tempTrashDirPath;
93 93

  
94 94
@property (nonatomic, retain) NSDate *lastCompletedSync;
95 95

  
96
// containersDictionary contains entries with keys the container names that should be included
97
// and values NSArrays that contain the directory names that should be excluded
98
// An empty string denotes that file objects in the container root should be excluded
96 99
- (id)initWithDirectoryPath:(NSString *)aDirectoryPath 
97 100
              pithosAccount:(PithosAccount *)aPithosAccount 
98
              containerName:(NSString *)aContainerName 
101
       containersDictionary:(NSMutableDictionary *)aContainersDictionary 
99 102
            resetLocalState:(BOOL)resetLocalState;
100 103

  
101 104
- (void)resetDaemon;

Also available in: Unified diff