Fix build on macOS 26 SDK
This commit is contained in:
2 files changed
+3
-4
No files matched your search
@@ -25,9 +25,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
+ (NSArray<NSString *> *)supportedFileFormats;
|
||||
+ (BOOL)canInitWithFileType:(NSString *)fileType;
|
||||
|
||||
+ (NSArray<UTType *> *)supportedContentTypes;
|
||||
+ (BOOL)canInitWithContentType:(UTType *)contentType;
|
||||
|
||||
+ (NSArray<UTType *> *)supportedContentTypes API_AVAILABLE(macos(11.0));
|
||||
+ (BOOL)canInitWithContentType:(UTType *)contentType API_AVAILABLE(macos(11.0));
|
||||
|
||||
- (nullable instancetype)initWithURL:(NSURL *)fileURL error:(NSError * __autoreleasing *)error;
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ static NSArray<Class> *_fileImporters;
|
||||
static NSArray<NSString *> *_supportedFileFormats;
|
||||
|
||||
/// The supporter uniform type identifiers.
|
||||
static NSArray<UTType *> *_supportedContentTypes;
|
||||
static NSArray<UTType *> *_supportedContentTypes API_AVAILABLE(macos(11.0));
|
||||
|
||||
|
||||
@implementation MP42FileImporter {
|
||||
|
||||
Reference in new issue
Block a user