2007-02-24 17:36:27 -03:00
|
|
|
/* PluginController */
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2025-02-26 01:10:06 -03:00
|
|
|
#import <CogAudio/Plugin.h>
|
2007-10-08 21:20:46 -04:00
|
|
|
|
2022-02-07 02:49:27 -03:00
|
|
|
// Singletonish
|
|
|
|
@interface PluginController : NSObject <CogPluginController> {
|
2007-03-01 22:36:52 -03:00
|
|
|
NSMutableDictionary *sources;
|
2007-10-08 21:20:46 -04:00
|
|
|
NSMutableDictionary *containers;
|
2007-02-24 17:36:27 -03:00
|
|
|
NSMutableDictionary *metadataReaders;
|
2007-10-14 15:12:15 -03:00
|
|
|
|
|
|
|
NSMutableDictionary *propertiesReadersByExtension;
|
|
|
|
NSMutableDictionary *propertiesReadersByMimeType;
|
|
|
|
|
|
|
|
NSMutableDictionary *decodersByExtension;
|
|
|
|
NSMutableDictionary *decodersByMimeType;
|
2022-02-07 02:49:27 -03:00
|
|
|
|
2008-03-01 12:28:17 -03:00
|
|
|
BOOL configured;
|
2007-02-24 17:36:27 -03:00
|
|
|
}
|
|
|
|
|
2008-03-01 12:28:17 -03:00
|
|
|
@property(retain) NSMutableDictionary *sources;
|
|
|
|
@property(retain) NSMutableDictionary *containers;
|
|
|
|
@property(retain) NSMutableDictionary *metadataReaders;
|
|
|
|
|
|
|
|
@property(retain) NSMutableDictionary *propertiesReadersByExtension;
|
|
|
|
@property(retain) NSMutableDictionary *propertiesReadersByMimeType;
|
|
|
|
|
|
|
|
@property(retain) NSMutableDictionary *decodersByExtension;
|
|
|
|
@property(retain) NSMutableDictionary *decodersByMimeType;
|
|
|
|
|
|
|
|
@property BOOL configured;
|
|
|
|
|
2007-02-24 17:36:27 -03:00
|
|
|
- (void)setup;
|
2007-03-01 22:36:52 -03:00
|
|
|
- (void)printPluginInfo;
|
2007-02-24 17:36:27 -03:00
|
|
|
|
2022-02-07 02:49:27 -03:00
|
|
|
- (void)loadPlugins;
|
2007-03-01 22:36:52 -03:00
|
|
|
- (void)loadPluginsAtPath:(NSString *)path;
|
2007-02-24 17:36:27 -03:00
|
|
|
|
2007-03-01 22:36:52 -03:00
|
|
|
- (void)setupSource:(NSString *)className;
|
2007-10-08 21:20:46 -04:00
|
|
|
- (void)setupContainer:(NSString *)className;
|
2007-03-01 22:36:52 -03:00
|
|
|
- (void)setupDecoder:(NSString *)className;
|
|
|
|
- (void)setupMetadataReader:(NSString *)className;
|
|
|
|
- (void)setupPropertiesReader:(NSString *)className;
|
2007-02-24 17:36:27 -03:00
|
|
|
|
|
|
|
@end
|