2007-02-24 20:36:27 +00:00
|
|
|
/* PluginController */
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2007-10-09 01:20:46 +00:00
|
|
|
#import "Plugin.h"
|
|
|
|
|
2007-02-24 20:36:27 +00:00
|
|
|
//Singleton
|
2007-10-09 01:20:46 +00:00
|
|
|
@interface PluginController : NSObject <CogPluginController>
|
2007-02-24 20:36:27 +00:00
|
|
|
{
|
2007-03-02 01:36:52 +00:00
|
|
|
NSMutableDictionary *sources;
|
2007-10-09 01:20:46 +00:00
|
|
|
NSMutableDictionary *containers;
|
2007-02-24 20:36:27 +00:00
|
|
|
NSMutableDictionary *metadataReaders;
|
2007-10-14 18:12:15 +00:00
|
|
|
|
|
|
|
NSMutableDictionary *propertiesReadersByExtension;
|
|
|
|
NSMutableDictionary *propertiesReadersByMimeType;
|
|
|
|
|
|
|
|
NSMutableDictionary *decodersByExtension;
|
|
|
|
NSMutableDictionary *decodersByMimeType;
|
2007-10-20 15:46:39 +00:00
|
|
|
|
|
|
|
BOOL isSetup;
|
2007-02-24 20:36:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
- (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;
|
2007-10-09 01:20:46 +00:00
|
|
|
- (void)setupContainer:(NSString *)className;
|
2007-03-02 01:36:52 +00:00
|
|
|
- (void)setupDecoder:(NSString *)className;
|
|
|
|
- (void)setupMetadataReader:(NSString *)className;
|
|
|
|
- (void)setupPropertiesReader:(NSString *)className;
|
2007-02-24 20:36:27 +00:00
|
|
|
|
|
|
|
@end
|