New KRVector3 math functions --HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4058
26 lines
560 B
Objective-C
26 lines
560 B
Objective-C
//
|
|
// KRWBFileSystemItem.h
|
|
// KRWorldBuilder
|
|
//
|
|
// Created by Kearwood Gilbert on 12-05-12.
|
|
// Copyright (c) 2012 Kearwood Software. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface KRWBFileSystemItem : NSObject
|
|
{
|
|
NSURL *fullPath;
|
|
KRWBFileSystemItem *parent;
|
|
NSMutableArray *children;
|
|
}
|
|
|
|
+ (KRWBFileSystemItem *)rootItem;
|
|
- (NSInteger)numberOfChildren;// Returns -1 for leaf nodes
|
|
- (KRWBFileSystemItem *)childAtIndex:(NSUInteger)n; // Invalid to call on leaf nodes
|
|
- (NSURL *)fullPath;
|
|
- (NSString *)relativePath;
|
|
|
|
@end
|
|
|