Improve code and fix bugs
[pithos-macos] / pithos-macos / PithosAccountNode.h
index e9abf01..6be678c 100644 (file)
@@ -2,7 +2,7 @@
 //  PithosAccountNode.h
 //  pithos-macos
 //
-// Copyright 2011 GRNET S.A. All rights reserved.
+// Copyright 2011-2012 GRNET S.A. All rights reserved.
 //
 // Redistribution and use in source and binary forms, with or
 // without modification, are permitted provided that the following
 // or implied, of GRNET S.A.
 
 #import "PithosNode.h"
+@class ASIPithos;
 @class ASIPithosAccountRequest;
+@class ASIPithosAccount;
 
 @interface PithosAccountNode : PithosNode {
-    NSMutableArray *containers;
+    ASIPithos *pithos;
+    ASIPithosAccount *pithosAccount;
+    
     ASIPithosAccountRequest *accountRequest;
+    
+    ASIPithosAccountRequest *applyMetadataAccountRequest;
+    ASIPithosAccountRequest *refreshMetadataAccountRequest;
+    
+    BOOL reset;
+    
+    NSMutableDictionary *translatedGroups;
 }
 
+@property(nonatomic, strong) ASIPithos *pithos;
+@property(nonatomic, strong) ASIPithosAccount *pithosAccount;
+@property(nonatomic, strong) NSMutableDictionary *translatedGroups;
+
+- (id)initWithPithos:(ASIPithos *)aPithos;
+
+- (void)applyInfo;
+- (void)refreshInfo;
+
 @end
\ No newline at end of file