2007-10-17 23:52:03 -03:00
|
|
|
//
|
|
|
|
// FileTreeDataSource.h
|
|
|
|
// Cog
|
|
|
|
//
|
|
|
|
// Created by Vincent Spader on 10/14/07.
|
|
|
|
// Copyright 2007 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
@class PathNode;
|
2008-02-18 00:27:59 -03:00
|
|
|
@class PathWatcher;
|
2007-10-17 23:52:03 -03:00
|
|
|
|
|
|
|
@interface FileTreeDataSource : NSObject {
|
|
|
|
PathNode *rootNode;
|
|
|
|
|
2008-02-18 00:27:59 -03:00
|
|
|
IBOutlet PathWatcher *watcher;
|
2007-10-17 23:52:03 -03:00
|
|
|
IBOutlet NSOutlineView *outlineView;
|
|
|
|
}
|
|
|
|
|
2008-02-17 18:04:36 -03:00
|
|
|
- (NSURL *)rootURL;
|
|
|
|
- (void)setRootURL:(NSURL *)rootURL;
|
2007-10-17 23:52:03 -03:00
|
|
|
|
|
|
|
- (void)reloadPathNode:(PathNode *)item;
|
|
|
|
|
|
|
|
@end
|