summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLPresetBankCapabilities.m
blob: 2fe43d7a7781219060efd530a5c1e7c9f5ab3962 (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
//  SDLPresetBankCapabilities.m
//


#import "SDLPresetBankCapabilities.h"

#import "NSMutableDictionary+Store.h"
#import "SDLNames.h"

NS_ASSUME_NONNULL_BEGIN

@implementation SDLPresetBankCapabilities

- (void)setOnScreenPresetsAvailable:(NSNumber<SDLBool> *)onScreenPresetsAvailable {
    [store sdl_setObject:onScreenPresetsAvailable forName:SDLNameOnScreenPresetsAvailable];
}

- (NSNumber<SDLBool> *)onScreenPresetsAvailable {
    return [store sdl_objectForName:SDLNameOnScreenPresetsAvailable];
}

@end

NS_ASSUME_NONNULL_END