@implementation JSAction
-@synthesize cookie;
-@synthesize children;
-@synthesize base;
-@synthesize name;
-@synthesize active;
-
-- (id)initWithName:(NSString *)newName base:(JSAction *)newBase {
+- (id)initWithName:(NSString *)newName base:(id <NJActionPathElement>)newBase {
if ((self = [super init])) {
self.name = newName;
self.base = newBase;
}
- (NSString *)uid {
- return [NSString stringWithFormat:@"%@~%@", [self.base uid], self.name];
+ return [NSString stringWithFormat:@"%@~%@", [_base uid], _name];
}
- (void)notifyEvent:(IOHIDValueRef)value {