{
NSMutableIndexSet * fIndexes;
- NSMutableArray * fChildren;
-
NSString * fName;
NSString * fPath;
Torrent * fTorrent;
uint64_t fSize;
NSImage * fIcon;
BOOL fIsFolder;
+ NSMutableArray * fChildren;
}
@property (nonatomic, copy, readonly) NSString * name;
@property (nonatomic, readonly) uint64_t size;
@property (nonatomic, retain, readonly) NSImage * icon;
@property (nonatomic, readonly) BOOL isFolder;
+@property (nonatomic, retain, readonly) NSMutableArray * children;
@property (nonatomic, retain, readonly) NSIndexSet * indexes;
- (NSString *) description;
-- (NSMutableArray *) children;
-
- (BOOL) updateFromOldName: (NSString *) oldName toNewName: (NSString *) newName inPath: (NSString *) path;
@end
@synthesize icon = fIcon;
@synthesize isFolder = fIsFolder;
@synthesize indexes = fIndexes;
+@synthesize children = fChildren;
- (id) initWithFolderName: (NSString *) name path: (NSString *) path torrent: (Torrent *) torrent
{
[fName release];
[fPath release];
[fIndexes release];
-
[fIcon release];
-
[fChildren release];
-
[super dealloc];
}