Forked Enjoy, mouse movement
[enjoyable.git] / Config.h
diff --git a/Config.h b/Config.h
new file mode 100644 (file)
index 0000000..1120ede
--- /dev/null
+++ b/Config.h
@@ -0,0 +1,25 @@
+//
+//  Config.h
+//  Enjoy
+//
+//  Created by Sam McCall on 4/05/09.
+//  Copyright 2009 University of Otago. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+@class Target;
+
+@interface Config : NSObject {
+       NSString *name;
+       BOOL protect;
+       NSMutableDictionary *entries;
+}
+
+@property(readwrite) BOOL protect;
+@property(readwrite, copy) NSString* name;
+@property(readonly) NSMutableDictionary* entries;
+
+-(void) setTarget:(Target*)target forAction:(id)jsa;
+-(Target*) getTargetForAction: (id) jsa;
+
+@end