Replace hacky target stringification with structured serialization.
[enjoyable.git] / KeyInputTextView.h
index 9927385..a3cd4ff 100644 (file)
@@ -6,7 +6,7 @@
 //  Copyright 2009 University of Otago. All rights reserved.
 //
 
-#import <Cocoa/Cocoa.h>
+@class TargetController;
 
 @interface KeyInputTextView : NSTextField {
        IBOutlet NSWindow *window;
@@ -18,6 +18,8 @@
 @property (readonly) BOOL hasKey;
 @property (assign) BOOL enabled;
 
++ (NSString *)stringForKeyCode:(int)keycode;
+
 - (void)clear;
 
 @end