X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJInputPathElement.h;h=3ad50c9bc5e183c1cd31d62800ba2333faf42d71;hp=8fe5c65aa3be5a3a35d2fee91308ae73124a5274;hb=79b05c3cf1c75bc4f7078acde43aaf4215c6408a;hpb=0064c1fbff36795885a9724081af2a17d83c20a3 diff --git a/Classes/NJInputPathElement.h b/Classes/NJInputPathElement.h index 8fe5c65..3ad50c9 100644 --- a/Classes/NJInputPathElement.h +++ b/Classes/NJInputPathElement.h @@ -1,9 +1,21 @@ -#import +// +// NJInputPathElement.h +// Enjoyable +// +// Created by Joe Wreschnig on 3/13/13. +// +// +@interface NJInputPathElement : NSObject -@protocol NJInputPathElement +- (id)initWithName:(NSString *)name + did:(NSString *)did + base:(NJInputPathElement *)base; -- (NSArray *)children; -- (id ) base; -- (NSString *)name; +@property (nonatomic, weak) NJInputPathElement *base; +@property (nonatomic, copy) NSString *name; +@property (nonatomic, readonly) NSString *uid; +@property (nonatomic, strong) NSArray *children; + +- (NJInputPathElement *)elementForUID:(NSString *)uid; @end