Revision e8dc9335 pithos-macos/PithosSyncDaemon.h

b/pithos-macos/PithosSyncDaemon.h
44 44
@interface PithosSyncDaemon : NSObject {
45 45
    NSString *directoryPath;
46 46
    PithosAccount *pithosAccount;
47
    NSDictionary *containersDictionary;
47
    NSDictionary *accountsDictionary;
48 48
    ASIPithos *pithos;
49 49
    
50
    NSDictionary *containersDictionary;
50 51
    NSUInteger containersCount;
51 52
    NSMutableArray *pithosContainers;
52 53
    NSUInteger containersIndex;
......
76 77
}
77 78

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

  
83
@property (nonatomic, retain) NSDictionary *containersDictionary;
82 84
@property (nonatomic, retain) NSMutableArray *pithosContainers;
83 85

  
84 86
@property (nonatomic, retain) NSMutableDictionary *remoteObjects;
......
92 94

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

  
95
// containersDictionary contains entries with keys the container names that should be included
96
// and values NSArrays that contain the directory names that should be excluded
97
// (also container root file objects with these names)
98
// An empty string denotes that all file objects in the container root should be excluded
97
// accountsDictionary contains entries of the form
98
// { <included sharing account name> : { <included container name> : [ <excluded directory names> ] } }
99
// <included sharing account name> :
100
//     the empty string "" denotes the user's own account
101
// <excluded directory names> : 
102
//     the empty string "" denotes all file objects in the container root
103
//     non-empty strings denote also container root file objects with these names
99 104
// Case insensitive filesystem is assumed, so directory names should be in lowercase
100 105
// and any trailing '/' should be replaced by ':'
101 106
- (id)initWithDirectoryPath:(NSString *)aDirectoryPath 
102 107
              pithosAccount:(PithosAccount *)aPithosAccount 
103
       containersDictionary:(NSDictionary *)aContainersDictionary 
108
         accountsDictionary:(NSDictionary *)anAccountsDictionary 
104 109
            resetLocalState:(BOOL)resetLocalState;
105 110

  
106 111
- (void)resetDaemon;

Also available in: Unified diff