#include extern NSString* const kCommandRunnerURLScheme; @interface OakHTMLOutputView : NSView - (void)loadRequest:(NSURLRequest*)aRequest environment:(std::map const&)anEnvironment autoScrolls:(BOOL)flag; - (void)stopLoading; - (void)loadHTMLString:(NSString*)someHTML; @property (nonatomic, readonly) BOOL runningCommand; // Read-only access to the webview is given to allow reading page title, etc. @property (nonatomic, readonly) WebView* webView; @property (nonatomic, readonly) BOOL needsNewWebView; @end namespace command { struct runner_t; typedef std::shared_ptr runner_ptr; } PUBLIC NSURLRequest* URLRequestForCommandRunner (command::runner_ptr aRunner);