#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
#include "tcl.h"

@interface ETAppDelegate : NSObject {
    IBOutlet NSTextField *textField;
    IBOutlet WebView *webView;
    IBOutlet NSWindow *demoWindow;
    Tcl_Interp *interp;
}

@property(assign) IBOutlet NSTextField *textField;
@property(assign) IBOutlet WebView *webView;
@property(assign) IBOutlet NSWindow *demoWindow;
@property(assign) Tcl_Interp *interp;

- (Tcl_Interp*)initTcl:(NSString*)app lib:(NSString*)lib args:(NSArray*)args;
- (void)finalizeTcl:(Tcl_Interp*)interp;
@end
