2023-11-01 21:11:11 +00:00
|
|
|
// This file Copyright © Transmission authors and contributors.
|
2022-04-24 20:34:30 +00:00
|
|
|
// It may be used under the MIT (SPDX: MIT) license.
|
|
|
|
// License text can be found in the licenses/ folder.
|
|
|
|
|
|
|
|
#import <AppKit/AppKit.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2024-08-22 20:07:17 +00:00
|
|
|
// Compatibility declarations to build `@available(macOS 13.0, *)` code with older Xcode 12.5.1 (the last macOS 11.0 compatible Xcode)
|
2023-02-27 01:11:36 +00:00
|
|
|
#ifndef __MAC_13_0
|
|
|
|
|
|
|
|
typedef NS_ENUM(NSInteger, NSColorWellStyle) {
|
|
|
|
NSColorWellStyleMinimal = 1,
|
|
|
|
} API_AVAILABLE(macos(13.0));
|
|
|
|
|
|
|
|
@interface NSColorWell ()
|
|
|
|
@property(assign) NSColorWellStyle colorWellStyle API_AVAILABLE(macos(13.0));
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2022-04-24 20:34:30 +00:00
|
|
|
NS_ASSUME_NONNULL_END
|