mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
20 lines
868 B
Objective-C
20 lines
868 B
Objective-C
#include <oak/misc.h>
|
|
|
|
@class OakCommand;
|
|
@class OakDocument;
|
|
|
|
typedef NS_OPTIONS(NSUInteger, OakCommandRefresherOptions) {
|
|
OakCommandRefresherDocumentAsInput = (1 << 0),
|
|
OakCommandRefresherDocumentDidChange = (1 << 1),
|
|
OakCommandRefresherDocumentDidSave = (1 << 2),
|
|
OakCommandRefresherDocumentDidClose = (1 << 3),
|
|
};
|
|
|
|
PUBLIC @interface OakCommandRefresher : NSResponder
|
|
+ (OakCommandRefresher*)scheduleRefreshForCommand:(OakCommand*)aCommand document:(OakDocument*)document window:(NSWindow*)window options:(OakCommandRefresherOptions)options variables:(std::map<std::string, std::string> const&)variables;
|
|
+ (OakCommandRefresher*)findRefresherForCommandUUID:(NSUUID*)anIdentifier document:(OakDocument*)document window:(NSWindow*)window;
|
|
- (void)bringHTMLOutputToFront:(id)sender;
|
|
- (void)teardown;
|
|
@property (nonatomic, readonly) OakCommand* command;
|
|
@end
|