Extracted MPPlugin constants into separate header

This commit is contained in:
Michael Starke
2017-11-29 14:37:36 +01:00
parent 5db3950424
commit a05a753a13
8 changed files with 34 additions and 18 deletions

View File

@@ -28,8 +28,6 @@ NS_ASSUME_NONNULL_BEGIN
@class MPAutotypeCommand;
@class KPKEntry;
FOUNDATION_EXPORT NSString *const kMPPluginFileExtension;
@interface MPPlugin : NSObject
@property (copy, readonly) NSString *identifier;
@@ -37,6 +35,8 @@ FOUNDATION_EXPORT NSString *const kMPPluginFileExtension;
@property (copy, readonly) NSString *version;
@property (nonatomic, strong, readonly) NSBundle *bundle;
@property (readonly) NSString *requiredHostVersion; // the host version required for running the plugin in mayor.minor.path format
/**
If your plugin needs initalization override this method but you have to call [super initWithPluginHost:]