mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-23 00:37:41 +00:00
also remove related debug mode code, debug logging is controlled solely by universal logging settings Fixes: #11525
32 lines
876 B
Objective-C
32 lines
876 B
Objective-C
/*
|
|
* Keyman is copyright (C) SIL International. MIT License.
|
|
*
|
|
* KMSettingsRepository.h
|
|
* Keyman
|
|
*
|
|
* Created by Shawn Schantz on 2024-07-29.
|
|
*
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface KMSettingsRepository : NSObject
|
|
+ (KMSettingsRepository *)shared;
|
|
- (BOOL)dataMigrationNeeded;
|
|
- (void)convertSettingsForMigration;
|
|
- (void)setDataModelVersionIfNecessary;
|
|
- (NSString *)readSelectedKeyboard;
|
|
- (void)writeSelectedKeyboard:(NSString *)selectedKeyboard;
|
|
- (NSArray *)readActiveKeyboards;
|
|
- (void)writeActiveKeyboards: (NSArray *) keyboards;
|
|
- (void)clearActiveKeyboards;
|
|
- (NSDictionary *)readOptionsForSelectedKeyboard;
|
|
- (void)writeOptionForSelectedKeyboard:(NSString *)key withValue:(NSString*)value;
|
|
- (BOOL)readShowOskOnActivate;
|
|
- (void)writeShowOskOnActivate:(BOOL)show;
|
|
- (BOOL)readForceSentryError;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|