Add public htmlOutputView property to OakCommand

This commit is contained in:
Allan Odgaard
2016-09-27 21:14:15 +02:00
parent ce55f5691e
commit 3b2a075808

View File

@@ -8,11 +8,14 @@ NS_ENUM(NSInteger) {
OakCommandAbnormalTerminationError
};
@class OakHTMLOutputView;
PUBLIC @interface OakCommand : NSObject
@property (nonatomic, weak) NSResponder* firstResponder;
@property (nonatomic, readonly) NSUUID* identifier;
@property (nonatomic) void(^terminationHandler)(OakCommand*, BOOL normalExit);
@property (nonatomic) BOOL updateHTMLViewAtomically;
@property (nonatomic, readonly) OakHTMLOutputView* htmlOutputView;
- (instancetype)initWithBundleCommand:(bundle_command_t const&)aCommand;
- (void)executeWithInput:(NSFileHandle*)fileHandleForReading variables:(std::map<std::string, std::string> const&)someVariables outputHandler:(void(^)(std::string const& out, output::type placement, output_format::type format, output_caret::type outputCaret, std::map<std::string, std::string> const& environment))handler;
- (void)terminate;