Fix localization changing mapping logical names.
[enjoyable.git] / Classes / NJInputPathElement.h
index 8750038..3ad50c9 100644 (file)
@@ -1,10 +1,21 @@
-#import <Foundation/Foundation.h>
+//
+//  NJInputPathElement.h
+//  Enjoyable
+//
+//  Created by Joe Wreschnig on 3/13/13.
+//
+//
+@interface NJInputPathElement : NSObject
 
-@protocol NJInputPathElement <NSObject>
+- (id)initWithName:(NSString *)name
+               did:(NSString *)did
+              base:(NJInputPathElement *)base;
 
-- (NSArray *)children;
-- (id <NJInputPathElement>) base;
-- (NSString *)name;
-- (NSString *)uid;
+@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