spiegel-keyman/mac/Keyman4MacIM/Keyman4MacIM/KMInputController.h
sgschantz a69426f2f5 fix(mac): properly manage lifecycle
moves handling of all KMInputMethodLifeCycle notifications to
KMInputMethodAppDelegate and out of KMInputController
because KMInputController instances are being cached
by the OS and swapped in when the input method changes
state

Fixes: #12997
2025-01-23 16:28:48 +07:00

19 lines
461 B
Objective-C

//
// KMInputController.h
// Keyman4MacIM
//
// Created by Serkan Kurt on 29/01/2015.
// Copyright (c) 2017 SIL International. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <InputMethodKit/InputMethodKit.h>
#import <Carbon/Carbon.h>
@interface KMInputController : IMKInputController
- (void)menuAction:(id)sender;
- (void)handleBackspace:(NSEvent *)event;
- (void)changeClients:(NSString *)clientAppId;
- (void)deactivateClient;
@end