Files
textmate/Applications/TextMate/src/TMPlugInController.h
Allan Odgaard 2024af398d Rework loading of plug-ins
We no longer require that the bundle identifier starts with ‘com.macromates’ instead the plug-in MUST set the TMPlugInAPIVersion key (in its Info.plist) to ‘2’ (the current API version).
2012-12-30 03:40:29 +01:00

16 lines
366 B
Objective-C

@protocol TMPlugInController
- (CGFloat)version;
@end
@protocol TMPlugIn
@optional
- (id)initWithPlugInController:(id <TMPlugInController>)aController;
@end
@interface TMPlugInController : NSObject <TMPlugInController>
+ (TMPlugInController*)sharedInstance;
- (void)loadAllPlugIns:(id)sender;
- (CGFloat)version;
- (void)installPlugInAtPath:(NSString*)aPath;
@end