cog/Plugins/OpenMPT.old/OpenMPT/OMPTVersionCheck.m

21 lines
490 B
Matlab
Raw Normal View History

//
// OMPTVersionCheck.m
// OpenMPT
//
// Created by Christopher Snowhill on 12/27/21.
2022-01-03 07:34:29 +00:00
// Copyright © 2021-2022 Christopher Snowhill. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "OMPTVersionCheck.h"
@implementation OMPTOldVersionCheck
+ (BOOL)shouldLoadForOSVersion:(NSOperatingSystemVersion)version {
if (version.majorVersion < 10 ||
(version.majorVersion == 10 && version.minorVersion < 15))
return YES;
else
return NO;
}
@end