Add preference to skip hidden files during sync.
[pithos-macos] / pithos-macos / PithosAccount.h
index c783f78..617d772 100644 (file)
@@ -39,6 +39,7 @@
 @class PithosSyncDaemon;
 @class ASIPithos;
 @class PithosAccountNode;
+@class PithosSharingAccountsNode;
 
 @interface PithosAccount : NSObject <NSCoding> {
     NSString *uniqueName;
@@ -47,7 +48,8 @@
     
     BOOL syncActive;
     NSString *syncDirectoryPath;
-    NSMutableDictionary *syncContainersDictionary;
+    NSMutableDictionary *syncAccountsDictionary;
+    BOOL syncSkipHidden;
     NSDate *syncLastCompleted;
     PithosSyncDaemon *syncDaemon;
         
@@ -72,6 +74,7 @@
     
     ASIPithos *pithos;
     PithosAccountNode *accountNode;
+    PithosSharingAccountsNode *sharingAccountsNode;
     
     BOOL updatePithos;
     BOOL resetSyncDaemonLocalState;
@@ -83,7 +86,8 @@
 
 @property (nonatomic, assign) BOOL syncActive;
 @property (nonatomic, retain) NSString *syncDirectoryPath;
-@property (nonatomic, retain) NSMutableDictionary *syncContainersDictionary;
+@property (nonatomic, retain) NSMutableDictionary *syncAccountsDictionary;
+@property (nonatomic, assign) BOOL syncSkipHidden;
 @property (nonatomic, retain) NSDate *syncLastCompleted;
 @property (nonatomic, retain) PithosSyncDaemon *syncDaemon;
 
 
 @property (readonly) ASIPithos *pithos;
 @property (readonly) PithosAccountNode *accountNode;
+@property (readonly) PithosSharingAccountsNode *sharingAccountsNode;
 
 + (id)pithosAccount;
 
 - (BOOL)urlIsValid:(NSString *)urlString;
 - (void)authenticateWithServerURL:(NSString *)aServerURL authUser:(NSString *)anAuthUser authToken:(NSString *)anAuthToken;
 - (void)loginWithServerURL:(NSString *)aServerURL;
-- (void)updateSyncWithSyncActive:(BOOL)aSyncActive syncDirectoryPath:(NSString *)aSyncDirectoryPath;
+- (void)updateSyncWithSyncActive:(BOOL)aSyncActive 
+               syncDirectoryPath:(NSString *)aSyncDirectoryPath 
+          syncAccountsDictionary:(NSMutableDictionary *)aSyncAccountsDictionary 
+                  syncSkipHidden:(BOOL)aSyncSkipHidden;
 
 @end