mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-11 19:35:32 +00:00
can now force crashes or send messages by typing a single character when sentry testing is enabled in the UserDefaults
28 lines
706 B
Objective-C
28 lines
706 B
Objective-C
/*
|
|
* Keyman is copyright (C) SIL International. MIT License.
|
|
*
|
|
* Created by Shawn Schantz on 2024-09-09.
|
|
*
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
extern NSString *const kInputMethodActivatedNotification;
|
|
extern NSString *const kInputMethodDeactivatedNotification;
|
|
extern NSString *const kInputMethodClientChangeNotification;
|
|
|
|
@interface KMInputMethodLifecycle : NSObject
|
|
+ (KMInputMethodLifecycle *)shared;
|
|
+ (NSString*)getRunningApplicationId;
|
|
@property NSString *clientApplicationId;
|
|
- (void)startLifecycle;
|
|
- (void)activateClient:(id)client;
|
|
- (void)deactivateClient:(id)client;
|
|
- (BOOL)shouldEnableEventTap;
|
|
- (BOOL)shouldShowOskOnActivate;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|