Cog/Audio/CogPluginMulti.h
Christopher Snowhill 7bc49ccb80 [Event Handler] Fix observers for reused classes
Fix class handling so it cleans up observers if the InputNode is reused.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-06-16 18:16:09 -07:00

41 lines
729 B
Objective-C

//
// CogPluginMulti.h
// CogAudio
//
// Created by Christopher Snowhill on 10/21/13.
//
//
#import "Plugin.h"
#import <Cocoa/Cocoa.h>
@interface CogDecoderMulti : NSObject <CogDecoder> {
NSArray *theDecoders;
id<CogDecoder> theDecoder;
BOOL observersAdded;
}
- (id)initWithDecoders:(NSArray *)decoders;
@end
@interface CogContainerMulti : NSObject {
}
+ (NSArray *)urlsForContainerURL:(NSURL *)url containers:(NSArray *)containers;
@end
@interface CogMetadataReaderMulti : NSObject {
}
+ (NSDictionary *)metadataForURL:(NSURL *)url readers:(NSArray *)readers;
@end
@interface CogPropertiesReaderMulti : NSObject {
}
+ (NSDictionary *)propertiesForSource:(id<CogSource>)source readers:(NSArray *)readers;
@end