// // Command.h // MG // // Created by Tim Debo on 5/23/14. // // #import #import @class WindowController, WebView; @interface Command : NSObject { JSContextRef jsContext; } + (JSValue *)makeConstructor:(id)block inContext:(JSContext *)context; + (JSValue *)constructor; - (NSString*) exportName; - (void) initializePlugin; - (id) initWithWindowController: (WindowController*)aWindowController; - (id) initWithContext:(JSContext*)aContext; @property (nonatomic, weak) WebView* webView; @property (nonatomic, weak) WindowController* windowController; @end