From 4ef59b23f2b72c002d0c43bb755d5708a78b89c3 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Mon, 22 Jan 2018 22:43:19 +0100 Subject: [PATCH] changed custom string plugin API slightly to better reflect intention --- MacPass/MPPlugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MacPass/MPPlugin.h b/MacPass/MPPlugin.h index 29d388f8..96fc3039 100644 --- a/MacPass/MPPlugin.h +++ b/MacPass/MPPlugin.h @@ -62,7 +62,7 @@ NS_ASSUME_NONNULL_BEGIN Adopt this protocoll if your plugin supports actions on entries. Actions will get listed in various places in menues. You should not set target nor actions since they will get stripped. - MacPass will call you back via -[MPPlugin performActionFroMenuItem:withEntries:] + MacPass will call you back via -[MPPlugin performActionForMenuItem:withEntries:] */ @protocol MPEntryActionPlugin @required @@ -80,7 +80,7 @@ NS_ASSUME_NONNULL_BEGIN If nil is returned, an empty value will be used. */ -- (NSString *)valueForAttributeWithKey:(NSString *)key; +- (NSString *)initialValueForAttributeWithKey:(NSString *)key; @end @interface MPPlugin (Deprecated)