From fc025aeffe6983b4b49e694391ebd87ef304a78d Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Thu, 3 Jan 2019 11:50:42 -0800 Subject: [PATCH] add forward declaration for controlAccentColor --- atom/browser/mac/atom_application.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/atom/browser/mac/atom_application.h b/atom/browser/mac/atom_application.h index 2f07676e3059d..c433f6ee8860d 100644 --- a/atom/browser/mac/atom_application.h +++ b/atom/browser/mac/atom_application.h @@ -37,6 +37,11 @@ typedef NS_ENUM(NSInteger, AVAuthorizationStatusMac) { (AVMediaType)mediaType API_AVAILABLE(macosx(10.14)); @end +@interface NSColor (MojaveSDK) +@property(class, strong, readonly) + NSColor* controlAccentColor API_AVAILABLE(macosx(10.14)); +@end + extern "C" { #if !defined(MAC_OS_X_VERSION_10_14) || \ MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_14