Support multiple accounts. Bug fixes. Improve concurrency.
[pithos-macos] / pithos-macos / PithosActivity.h
index 6569d69..54b49ef 100644 (file)
@@ -36,6 +36,7 @@
 // or implied, of GRNET S.A.
 
 #import <Foundation/Foundation.h>
+@class PithosAccount;
 
 typedef enum  {
     PithosActivityUpload, 
@@ -52,13 +53,15 @@ typedef enum  {
     NSString *message;
     NSUInteger totalBytes;
     NSUInteger currentBytes;
+    PithosAccount *pithosAccount;
 }
 
-- (id)initWithType:(PithosActivityType)aType;
+- (id)initWithType:(PithosActivityType)aType pithosAccount:(PithosAccount *)aPithosAccount;
 
 @property (nonatomic, assign) PithosActivityType type;
 @property (nonatomic, copy) NSString *message;
 @property (nonatomic, assign) NSUInteger totalBytes;
 @property (nonatomic, assign) NSUInteger currentBytes;
+@property (nonatomic, assign) PithosAccount *pithosAccount;
 
 @end