projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Analog mouse scrolling.
[enjoyable.git]
/
JSAction.m
diff --git
a/JSAction.m
b/JSAction.m
index
f96c10d
..
6903c56
100644
(file)
--- a/
JSAction.m
+++ b/
JSAction.m
@@
-9,13
+9,6
@@
@implementation JSAction
@implementation JSAction
-@synthesize cookie;
-@synthesize index;
-@synthesize children;
-@synthesize base;
-@synthesize name;
-@synthesize active;
-
- (id)initWithName:(NSString *)newName base:(JSAction *)newBase {
if ((self = [super init])) {
self.name = newName;
- (id)initWithName:(NSString *)newName base:(JSAction *)newBase {
if ((self = [super init])) {
self.name = newName;
@@
-28,11
+21,8
@@
return NULL;
}
return NULL;
}
-- (NSString *)stringify {
- if (cookie)
- return [NSString stringWithFormat: @"%@~%p", [base stringify], cookie];
- else
- return [NSString stringWithFormat: @"%@~%@", [base stringify], name];
+- (NSString *)uid {
+ return [NSString stringWithFormat:@"%@~%@", [_base uid], _name];
}
- (void)notifyEvent:(IOHIDValueRef)value {
}
- (void)notifyEvent:(IOHIDValueRef)value {