blob: 0d79bc07aeb00baad240ffe59bab6b1916ab4d2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// SDLMyKey.m
//
#import "SDLMyKey.h"
#import "NSMutableDictionary+Store.h"
#import "SDLRPCParameterNames.h"
#import "SDLVehicleDataStatus.h"
NS_ASSUME_NONNULL_BEGIN
@implementation SDLMyKey
- (void)setE911Override:(SDLVehicleDataStatus)e911Override {
[store sdl_setObject:e911Override forName:SDLRPCParameterNameE911Override];
}
- (SDLVehicleDataStatus)e911Override {
NSError *error = nil;
return [store sdl_enumForName:SDLRPCParameterNameE911Override error:&error];
}
@end
NS_ASSUME_NONNULL_END
|