mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-15 12:07:42 +00:00
Mostly taking advantage of KMSettingsRepository so that more of the UserDefaults changes happen through it Still some refactoring remains for active keyboards list
27 lines
541 B
Objective-C
27 lines
541 B
Objective-C
/*
|
|
* Keyman is copyright (C) SIL International. MIT License.
|
|
*
|
|
* KMPackageReader.m
|
|
* Keyman
|
|
*
|
|
* Created by Shawn Schantz on 2021/12/06.
|
|
*
|
|
* Read package information from kmp.json, if it exists. If not, read from kmp.inf.
|
|
* Then create and return KMPackageInfo object.
|
|
*
|
|
*/
|
|
|
|
#import "KMPackageInfo.h"
|
|
#import "KMKeyboardInfo.h"
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface KMPackageReader : NSObject
|
|
|
|
- (instancetype)init;
|
|
- (KMPackageInfo *)loadPackageInfo:(NSString *)path;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|