X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Config.h;h=a2ba55b6f3deb16c0ad324e344d673d7fc034f5f;hp=2572669cb3b86d029a210874f7c33fcc579b71a2;hb=f864d363128de19fc6591b77ae9226b34166d715;hpb=c6fb77859e508aaef686b7a5a6a12abe29178708 diff --git a/Config.h b/Config.h index 2572669..a2ba55b 100644 --- a/Config.h +++ b/Config.h @@ -7,14 +7,16 @@ // @class Target; -@class JSAction; +@class NJInput; @interface Config : NSObject -@property (copy) NSString *name; -@property (readonly) NSMutableDictionary *entries; +@property (nonatomic, copy) NSString *name; +@property (nonatomic, readonly) NSMutableDictionary *entries; -- (Target *)objectForKeyedSubscript:(JSAction *)action; -- (void)setObject:(Target *)target forKeyedSubscript:(JSAction *)action; +- (id)initWithName:(NSString *)name; +- (Target *)objectForKeyedSubscript:(NJInput *)input; +- (void)setObject:(Target *)target forKeyedSubscript:(NJInput *)input; +- (NSDictionary *)serialize; @end