X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJInputPathElement.h;h=98c96fdbab4670b11aa2ebdea7224c0621bcef6f;hp=87500382f9bdf8836398beac4175f6795dcfbbd4;hb=58ce8f7f50f382f18e7b416eca737803af284868;hpb=53afd7c25f4423020c805c3587875cdce99ba3f4 diff --git a/Classes/NJInputPathElement.h b/Classes/NJInputPathElement.h index 8750038..98c96fd 100644 --- a/Classes/NJInputPathElement.h +++ b/Classes/NJInputPathElement.h @@ -1,10 +1,21 @@ -#import +// +// NJInputPathElement.h +// Enjoyable +// +// Created by Joe Wreschnig on 3/13/13. +// +// +@interface NJInputPathElement : NSObject -@protocol NJInputPathElement +- (id)initWithName:(NSString *)name + eid:(NSString *)eid + parent:(NJInputPathElement *)parent; -- (NSArray *)children; -- (id ) base; -- (NSString *)name; -- (NSString *)uid; +@property (nonatomic, weak) NJInputPathElement *parent; +@property (nonatomic, copy) NSString *name; +@property (nonatomic, readonly) NSString *uid; +@property (nonatomic, strong) NSArray *children; + +- (NJInputPathElement *)elementForUID:(NSString *)uid; @end