projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix memory leak.
[enjoyable.git]
/
Config.h
diff --git
a/Config.h
b/Config.h
index
1120ede
..
2572669
100644
(file)
--- a/
Config.h
+++ b/
Config.h
@@
-6,20
+6,15
@@
// Copyright 2009 University of Otago. All rights reserved.
//
// Copyright 2009 University of Otago. All rights reserved.
//
-#import <Cocoa/Cocoa.h>
@class Target;
@class Target;
+@class JSAction;
-@interface Config : NSObject {
- NSString *name;
- BOOL protect;
- NSMutableDictionary *entries;
-}
+@interface Config : NSObject
-@property(readwrite) BOOL protect;
-@property(readwrite, copy) NSString* name;
-@property(readonly) NSMutableDictionary* entries;
+@property (copy) NSString *name;
+@property (readonly) NSMutableDictionary *entries;
--
(void) setTarget:(Target*)target forAction:(id)jsa
;
--
(Target*) getTargetForAction: (id) jsa
;
+-
(Target *)objectForKeyedSubscript:(JSAction *)action
;
+-
(void)setObject:(Target *)target forKeyedSubscript:(JSAction *)action
;
@end
@end