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