Refactor to use updated ASIPithos lib.
[pithos-macos] / pithos-macos / PithosBrowserController.h
index d6f758f..eef7575 100644 (file)
@@ -2,7 +2,7 @@
 //  PithosBrowserController.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
@@ -37,6 +37,7 @@
 
 #import <Cocoa/Cocoa.h>
 #import "PithosActivityFacility.h"
+@class ASIPithos;
 @class PithosNode;
 @class PithosAccountNode;
 @class PithosSharingAccountsNode;
 @class ASINetworkQueue;
 
 @interface PithosBrowserController : NSWindowController <NSBrowserDelegate, NSSplitViewDelegate, NSOutlineViewDelegate, NSOutlineViewDataSource, NSMenuDelegate, PithosActivityFacilityDelegate> {
+    BOOL browserInitialized;
+    
+    ASIPithos *pithos;
+    
     PithosNode *rootNode;
     PithosAccountNode *accountNode;
     PithosEmptyNode *containersNode;
@@ -89,6 +94,8 @@
     dispatch_queue_t downloadQueue;
 }
 
+@property (nonatomic, retain) ASIPithos *pithos;
+
 @property (nonatomic, retain) PithosAccountNode *accountNode;
 
 @property (nonatomic, assign) IBOutlet NSSplitView *verticalSplitView;