X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Config.h;h=a2ba55b6f3deb16c0ad324e344d673d7fc034f5f;hp=72f00844de29899ae28f51f20fb2e170af68d807;hb=f864d363128de19fc6591b77ae9226b34166d715;hpb=9584becb2e5469e8f482d73e6f0c9c3bf879e0db diff --git a/Config.h b/Config.h index 72f0084..a2ba55b 100644 --- a/Config.h +++ b/Config.h @@ -7,16 +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; - (id)initWithName:(NSString *)name; -- (Target *)objectForKeyedSubscript:(JSAction *)action; -- (void)setObject:(Target *)target forKeyedSubscript:(JSAction *)action; +- (Target *)objectForKeyedSubscript:(NJInput *)input; +- (void)setObject:(Target *)target forKeyedSubscript:(NJInput *)input; - (NSDictionary *)serialize; @end