2007-02-24 20:36:27 +00:00
|
|
|
/* PluginController */
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
//Singleton
|
|
|
|
@interface PluginController : NSObject
|
|
|
|
{
|
2007-03-02 01:36:52 +00:00
|
|
|
NSMutableDictionary *sources;
|
2007-02-24 20:36:27 +00:00
|
|
|
NSMutableDictionary *decoders;
|
|
|
|
NSMutableDictionary *metadataReaders;
|
|
|
|
NSMutableDictionary *propertiesReaders;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ (PluginController *)sharedPluginController; //Use this to get the instance.
|
|
|
|
|
|
|
|
- (void)setup;
|
2007-03-02 01:36:52 +00:00
|
|
|
- (void)printPluginInfo;
|
2007-02-24 20:36:27 +00:00
|
|
|
|
2007-03-02 01:36:52 +00:00
|
|
|
- (void)loadPlugins;
|
|
|
|
- (void)loadPluginsAtPath:(NSString *)path;
|
2007-02-24 20:36:27 +00:00
|
|
|
|
2007-03-02 01:36:52 +00:00
|
|
|
- (void)setupSource:(NSString *)className;
|
|
|
|
- (void)setupDecoder:(NSString *)className;
|
|
|
|
- (void)setupMetadataReader:(NSString *)className;
|
|
|
|
- (void)setupPropertiesReader:(NSString *)className;
|
2007-02-24 20:36:27 +00:00
|
|
|
|
2007-03-02 01:36:52 +00:00
|
|
|
- (NSDictionary *)sources;
|
2007-02-24 20:36:27 +00:00
|
|
|
- (NSDictionary *)decoders;
|
|
|
|
- (NSDictionary *)metadataReaders;
|
|
|
|
- (NSDictionary *)propertiesReaders;
|
|
|
|
|
|
|
|
@end
|