X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=JSAction.h;h=30e99b9cd71e68a4a649a9d170589d7742a5f0ae;hp=50e37e2311a1092bd44b8747b4d82d36f831788d;hb=724979785b445dcba8a9861c2531ae0308bdf40a;hpb=530009447c5bbd360ac5023979cffc6d32a28df3 diff --git a/JSAction.h b/JSAction.h index 50e37e2..30e99b9 100644 --- a/JSAction.h +++ b/JSAction.h @@ -6,28 +6,23 @@ // Copyright 2009 University of Otago. All rights reserved. // -#import -#import +#import +#import @interface JSAction : NSObject { - int usage, index; - void* cookie; - NSArray* subActions; id base; - NSString* name; + NSString *name; } -@property(readwrite) int usage; -@property(readwrite) void* cookie; -@property(readonly) int index; -@property(readonly) NSArray* subActions; -@property(readwrite, retain) id base; -@property(readonly) NSString* name; -@property(readonly) BOOL active; +@property (assign) void* cookie; +@property (assign) int index; +@property (copy) NSArray *children; +@property (strong) id base; +@property (copy) NSString *name; +@property (readonly) BOOL active; --(void) notifyEvent: (IOHIDValueRef) value; --(NSString*) stringify; --(NSArray*) subActions; --(id) findSubActionForValue: (IOHIDValueRef) value; +- (void)notifyEvent:(IOHIDValueRef)value; +- (NSString *)stringify; +- (id)findSubActionForValue:(IOHIDValueRef)value; @end