Changeset 14036


Ignore:
Timestamp:
Feb 19, 2013, 1:29:25 AM (9 years ago)
Author:
livings124
Message:

make the children in a FileListNode? a property

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/FileListNode.h

    r13828 r14036  
    3131    NSMutableIndexSet * fIndexes;
    3232   
    33     NSMutableArray * fChildren;
    34    
    3533    NSString * fName;
    3634    NSString * fPath;
     
    3937    NSImage * fIcon;
    4038    BOOL fIsFolder;
     39    NSMutableArray * fChildren;
    4140}
    4241
     
    4948@property (nonatomic, retain, readonly) NSImage * icon;
    5049@property (nonatomic, readonly) BOOL isFolder;
     50@property (nonatomic, retain, readonly) NSMutableArray * children;
    5151
    5252@property (nonatomic, retain, readonly) NSIndexSet * indexes;
     
    6060- (NSString *) description;
    6161
    62 - (NSMutableArray *) children;
    63 
    6462- (BOOL) updateFromOldName: (NSString *) oldName toNewName: (NSString *) newName inPath: (NSString *) path;
    6563
  • trunk/macosx/FileListNode.m

    r13874 r14036  
    4141@synthesize isFolder = fIsFolder;
    4242@synthesize indexes = fIndexes;
     43@synthesize children = fChildren;
    4344
    4445- (id) initWithFolderName: (NSString *) name path: (NSString *) path torrent: (Torrent *) torrent
     
    9091    [fPath release];
    9192    [fIndexes release];
    92    
    9393    [fIcon release];
    94    
    9594    [fChildren release];
    96    
    9795    [super dealloc];
    9896}
Note: See TracChangeset for help on using the changeset viewer.