cog/Audio/PluginController.h

46 lines
1.1 KiB
C
Raw Normal View History

/* PluginController */
#import <Cocoa/Cocoa.h>
#import "Plugin.h"
//Singleton
@interface PluginController : NSObject <CogPluginController>
{
NSMutableDictionary *sources;
NSMutableDictionary *containers;
NSMutableDictionary *metadataReaders;
2007-10-14 18:12:15 +00:00
NSMutableDictionary *propertiesReadersByExtension;
NSMutableDictionary *propertiesReadersByMimeType;
NSMutableDictionary *decodersByExtension;
NSMutableDictionary *decodersByMimeType;
}
+ (PluginController *)sharedPluginController; //Use this to get the instance.
- (void)setup;
- (void)printPluginInfo;
- (void)loadPlugins;
- (void)loadPluginsAtPath:(NSString *)path;
- (void)setupSource:(NSString *)className;
- (void)setupContainer:(NSString *)className;
- (void)setupDecoder:(NSString *)className;
- (void)setupMetadataReader:(NSString *)className;
- (void)setupPropertiesReader:(NSString *)className;
- (NSDictionary *)sources;
- (NSDictionary *)containers;
- (NSDictionary *)metadataReaders;
2007-10-14 18:12:15 +00:00
- (NSDictionary *)propertiesReadersByExtension;
- (NSDictionary *)propertiesReadersByMimeType;
- (NSDictionary *)decodersByExtension;
- (NSDictionary *)decodersByMimeType;
@end