X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Config.h;h=606529dc46d2c95d9580b54d11d435bb8be3eff6;hp=d85ec939c2982f4cbcf587057205dcf0799c8eff;hb=1bb3f553caac2b6b74380bd20ddc4bb1ff22abb2;hpb=25dd74a4a34f4ba7ec797360bd8f92cbd7bc758e diff --git a/Config.h b/Config.h index d85ec93..606529d 100644 --- a/Config.h +++ b/Config.h @@ -6,18 +6,17 @@ // Copyright 2009 University of Otago. All rights reserved. // -#import - @class Target; @class JSAction; @interface Config : NSObject -@property (assign) BOOL protect; -@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; +- (NSDictionary *)serialize; @end