| 123456789101112131415161718192021222324252627 |
- //
- // Command.h
- // MG
- //
- // Created by Tim Debo on 5/23/14.
- //
- //
- #import <Foundation/Foundation.h>
- #import <JavaScriptCore/JavaScriptCore.h>
- @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
|