Add showWindow:/close methods for HTML output window controller

These must be used for proper management of the “retainedSelf” property.
This commit is contained in:
Allan Odgaard
2014-03-27 13:44:16 +07:00
parent 33178679c7
commit 080dd3da18
3 changed files with 26 additions and 9 deletions

View File

@@ -7,4 +7,7 @@ PUBLIC @interface HTMLOutputWindowController : NSObject <NSWindowDelegate>
@property (nonatomic, readonly) BOOL running;
@property (nonatomic, readonly) BOOL needsNewWebView;
+ (HTMLOutputWindowController*)HTMLOutputWindowWithRunner:(command::runner_ptr const&)aRunner;
- (void)showWindow:(id)sender;
- (void)close;
@end