Forked Enjoy, mouse movement
[enjoyable.git] / Target.h
diff --git a/Target.h b/Target.h
new file mode 100644 (file)
index 0000000..215245f
--- /dev/null
+++ b/Target.h
@@ -0,0 +1,23 @@
+//
+//  Target.h
+//  Enjoy
+//
+//  Created by Sam McCall on 5/05/09.
+//  Copyright 2009 University of Otago. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+@interface Target : NSObject {
+       BOOL running;
+    int inputValue;
+}
+
+@property(readwrite) BOOL running;
+@property(readwrite) int inputValue;
+-(void) trigger;
+-(void) untrigger;
+-(NSString*) stringify;
++(Target*) unstringify: (NSString*) str withConfigList: (NSArray*) configs;
+
+@end