spiegel-keyman/mac/Keyman4MacIM/Keyman4MacIM/KMSettingsRepository.h
sgschantz becea93fa9 change(mac): remove verbose logging option
also remove related debug mode code, debug logging
is controlled solely by universal logging settings

Fixes: #11525
2024-09-17 15:36:41 +07:00

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