5 // Created by Vincent Berthoux on 14/06/10.
6 // Copyright 2010 __MyCompanyName__. All rights reserved.
9 #import <Cocoa/Cocoa.h>
10 #import "LayoutTree.h"
17 typedef something SampleTypedefObjC;
19 // Mer & no_struct_name must not be present in output
21 # define ANOTHER_MACRO( WITH, MOAR ) \
28 char *anotherStructMember[ NOT_IN_TAG ];
31 #pragma DONTCARE /* :-) */
33 @interface FileTree : NSObject {
35 LayoutTree *representation;
36 FolderTree *parent[THISISNOTATAG];
39 - (id)initWithName:(NSString*)treeName
40 andSize:(uint64_t)size
41 atPlace:(FolderTree*)parentFolder;
43 - (id)initWithName:(NSString*)treeName
44 atPlace:(FolderTree*)parentFolder;
48 - (FileSize)getDiskSize;
49 - (LayoutTree*)createLayoutTree;
52 @interface FolderTree : FileTree {
53 NSMutableArray *children;
56 - (id)initWithName:(NSString*)treeName
57 atPlace:(FolderTree*)parentFolder;
60 - (FolderTree*)addChild:(FileTree*)subTree;
61 - (void) populateChildList:(NSString*)root;
62 - (LayoutTree*)createLayoutTree;