//
//  MCPluginLoader.h
//  Composer
//
//  Created by Alykhan Jetha on 06/06/2005.
//  Copyright 2005 Marketcircle Inc.. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface MCPluginLoader : NSObject {
	NSMutableArray 			*searchDirectories;
	NSMutableDictionary		*foundBundles;
	float bundleVersion;

}

+ (id)defaultPluginLoader;

// returns an array of bundles that end with the given extension. These bundle's principal classes are not loaded by this method. You have to do that yourself.
// Scans the app wrapper/plugins app wrapper/resources (including all language) and home/Library/Application Support/<app name>/Plugins/ 
- (NSArray *)bundlesOfType:(NSString *)extension version:(float)aVersion;

@end
