cog/FileDrawer/PathNode.h

34 lines
475 B
C
Raw Normal View History

2006-09-02 16:09:20 +00:00
//
// Node.h
// Cog
//
// Created by Vincent Spader on 8/20/2006.
// Copyright 2006 Vincent Spader. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface PathNode : NSObject
{
NSString *path;
NSImage *icon;
NSArray *subpaths;
2006-09-02 16:09:20 +00:00
}
- (id)initWithPath:(NSString *)p;
- (NSString *)path;
- (void)setPath:(NSString *)p;
- (void)processPaths: (NSArray *)contents;
- (NSArray *)subpaths;
- (void)setSubpaths:(NSArray *)s;
- (NSImage *)icon;
- (BOOL)isLeaf;
2006-09-02 16:09:20 +00:00
@end