projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix crash when no action is available.
[enjoyable.git]
/
SubAction.h
diff --git
a/SubAction.h
b/SubAction.h
index
d09fa3a
..
7b297d8
100644
(file)
--- a/
SubAction.h
+++ b/
SubAction.h
@@
-7,20
+7,11
@@
//
#import <Cocoa/Cocoa.h>
//
#import <Cocoa/Cocoa.h>
-@class JSAction;
-@interface SubAction : NSObject {
- JSAction *base;
- NSString *name;
- int index;
- BOOL active;
-}
+#import "JSAction.h"
--(id) initWithIndex:(int)newIndex name: (NSString*)newName base: (JSAction*)newBase;
+@interface SubAction : JSAction
-@property(readwrite, strong) JSAction* base;
-@property(readwrite, copy) NSString* name;
-@property(readwrite) int index;
-@property(readwrite) BOOL active;
+- (id)initWithIndex:(int)newIndex name:(NSString *)newName base:(JSAction *)newBase;
@end
@end