//
//  GSShortcutCommandProtocol.h
//  GlyphsCore
//
//  Created by Georg Seifert on 08.01.19.
//  Copyright © 2019 schriftgestaltung.de. All rights reserved.
//

NS_ASSUME_NONNULL_BEGIN
@class GSEditViewController;

NS_SWIFT_UI_ACTOR
@protocol GSShortcutCommandProtocol <NSObject>

@optional
/** This is called right before the shortcut action is performed

 @param action The action to be called
 @param editViewController the currently active tab

 @return Return YES if you liked to be called at that point. Or NO if you don’t
 */
- (BOOL)validateShortcutCommand:(SEL)action editViewController:(GSEditViewController *)editViewController;

@end

NS_ASSUME_NONNULL_END
