X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JSAction.m;h=6bc15291d3c37fd72100017123498ba8a168e9e8;hp=a0fab80fde6461ebadd721b28f87cda7647d76f7;hb=e68c19b5923618b763543c74bf8dd6f85d4d323e;hpb=fad073260e61084c4962e172c58a0595261bd811 diff --git a/JSAction.m b/JSAction.m index a0fab80..6bc1529 100644 --- a/JSAction.m +++ b/JSAction.m @@ -5,23 +5,31 @@ // Created by Sam McCall on 4/05/09. // +#import "JSAction.h" + @implementation JSAction -@synthesize usage, cookie, index, subActions, base, name; +@synthesize cookie; +@synthesize index; +@synthesize subActions; +@synthesize base; +@synthesize name; --(id) findSubActionForValue: (IOHIDValueRef) value { - return NULL; +- (id)findSubActionForValue:(IOHIDValueRef)value { + return NULL; } --(NSString*) stringify { - return [[NSString alloc] initWithFormat: @"%@~%d",[base stringify],(int)cookie]; +- (NSString *)stringify { + return [NSString stringWithFormat: @"%@~%p", [base stringify], cookie]; } --(void) notifyEvent: (IOHIDValueRef) value { - [self doesNotRecognizeSelector:_cmd]; + +- (void)notifyEvent:(IOHIDValueRef)value { + [self doesNotRecognizeSelector:_cmd]; } --(BOOL) active { - [self doesNotRecognizeSelector:_cmd]; - return NO; + +- (BOOL)active { + [self doesNotRecognizeSelector:_cmd]; + return NO; } @end