stubbed API to call from outside

This commit is contained in:
michael starke
2017-05-22 18:11:08 +02:00
parent 69f66f3dd3
commit 7b04331a2d
2 changed files with 7 additions and 0 deletions

View File

@@ -10,4 +10,6 @@
@interface MPAutotypeBuilderViewController : NSViewController @interface MPAutotypeBuilderViewController : NSViewController
- (void)presentBuilderWithSequence:(NSString *)sequence;
@end @end

View File

@@ -55,6 +55,11 @@
self.commandBuilderTokenField.delegate = self; self.commandBuilderTokenField.delegate = self;
} }
- (void)presentBuilderWithSequence:(NSString *)sequence {
// TODO: tokenize input sequence!
//self.commandBuilderTokenField.stringValue = sequence;
}
- (IBAction)addCustomKeyPlaceholder:(id)sender { - (IBAction)addCustomKeyPlaceholder:(id)sender {
if(![sender isKindOfClass:NSMenuItem.class]) { if(![sender isKindOfClass:NSMenuItem.class]) {
return; return;