projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor Actions. SubAction is a (mostly) proper JSAction. JSActions have (more)...
[enjoyable.git]
/
JSActionButton.h
diff --git
a/JSActionButton.h
b/JSActionButton.h
index
4720b73
..
5a9a4c0
100644
(file)
--- a/
JSActionButton.h
+++ b/
JSActionButton.h
@@
-7,14
+7,13
@@
//
#import <Cocoa/Cocoa.h>
//
#import <Cocoa/Cocoa.h>
-@class JSAction;
-@interface JSActionButton : JSAction {
- int max;
- BOOL active;
-}
+#import "JSAction.h"
--(id)initWithIndex: (int)newIndex andName: (NSString*)newName;
-@property(readwrite) int max;
+@interface JSActionButton : JSAction
+
+- (id)initWithName:(NSString *)name idx:(int)idx max:(int)max;
+
+@property (assign) int max;
@end
@end