Actually make it impossible to remove the default configuration. Various other small...
[enjoyable.git] / Config.h
index d118262..12ee219 100644 (file)
--- a/Config.h
+++ b/Config.h
 
 @interface Config : NSObject
 
-@property (assign) BOOL protect;
 @property (copy) NSString *name;
 @property (readonly) NSMutableDictionary *entries;
 
-- (void)setTarget:(Target *)target forAction:(JSAction *)jsa;
-- (Target *)getTargetForAction:(JSAction *)sa;
+- (Target *)objectForKeyedSubscript:(JSAction *)action;
+- (void)setObject:(Target *)target forKeyedSubscript:(JSAction *)action;
 
 @end