hammerspoon/Pods/MIKMIDI/Source/MIKMIDIMetaCuePointEvent.m

36 lines
1.0 KiB
Objective-C

//
// MIKMIDIMetaCuePointEvent.m
// MIDI Files Testbed
//
// Created by Jake Gundersen on 5/22/14.
// Copyright (c) 2014 Mixed In Key. All rights reserved.
//
#import "MIKMIDIMetaCuePointEvent.h"
#import "MIKMIDIEvent_SubclassMethods.h"
#import "MIKMIDIUtilities.h"
#if !__has_feature(objc_arc)
#error MIKMIDIMetaCuePointEvent.m must be compiled with ARC. Either turn on ARC for the project or set the -fobjc-arc flag for MIKMIDIMetaCuePointEvent.m in the Build Phases for this target
#endif
@implementation MIKMIDIMetaCuePointEvent
+ (void)load { [MIKMIDIEvent registerSubclass:self]; }
+ (NSArray *)supportedMIDIEventTypes { return @[@(MIKMIDIEventTypeMetaCuePoint)]; }
+ (Class)immutableCounterpartClass { return [MIKMIDIMetaCuePointEvent class]; }
+ (Class)mutableCounterpartClass { return [MIKMutableMIDIMetaCuePointEvent class]; }
+ (BOOL)isMutable { return NO; }
@end
@implementation MIKMutableMIDIMetaCuePointEvent
@dynamic timeStamp;
@dynamic metadataType;
@dynamic metaData;
+ (BOOL)isMutable { return YES; }
@end