Change ‘runningCommand’ getter to ‘isRunningCommand’

This commit is contained in:
Allan Odgaard
2016-08-21 12:23:40 +02:00
parent aef22e4669
commit 89c19eff61
5 changed files with 5 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ extern NSString* const kCommandRunnerURLScheme;
- (void)stopLoading;
- (void)loadHTMLString:(NSString*)someHTML;
@property (nonatomic, readonly) BOOL runningCommand;
@property (nonatomic, getter = isRunningCommand, readonly) BOOL runningCommand;
// Read-only access to the webview is given to allow reading page title, etc.
@property (nonatomic, readonly) WebView* webView;

View File

@@ -6,7 +6,7 @@ PUBLIC @interface OakHTMLOutputView : HOBrowserView
- (void)stopLoading;
- (void)loadHTMLString:(NSString*)someHTML;
@property (nonatomic, readonly) BOOL runningCommand;
@property (nonatomic, getter = isRunningCommand, readonly) BOOL runningCommand;
// Read-only access to the webview is given to allow reading page title, etc.
@property (nonatomic, readonly) WebView* webView;

View File

@@ -11,7 +11,7 @@ extern NSString* const kCommandRunnerURLScheme; // from HTMLOutput.h
{
OBJC_WATCH_LEAKS(OakHTMLOutputView);
}
@property (nonatomic) BOOL runningCommand;
@property (nonatomic, getter = isRunningCommand, readwrite) BOOL runningCommand;
@property (nonatomic) HOAutoScroll* autoScrollHelper;
@property (nonatomic) std::map<std::string, std::string> environment;
@property (nonatomic) NSRect pendingVisibleRect;