summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLTouchEventCapabilities.m
blob: d13a6697fe731538c63141532edbf8488d1ef15a (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
26
27
28
29
30
31
32
33
34
35
36
//  SDLTouchEventCapabilities.m
//


#import "SDLTouchEventCapabilities.h"

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

@implementation SDLTouchEventCapabilities

- (void)setPressAvailable:(NSNumber<SDLBool> *)pressAvailable {
    [store sdl_setObject:pressAvailable forName:SDLNamePressAvailable];
}

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

- (void)setMultiTouchAvailable:(NSNumber<SDLBool> *)multiTouchAvailable {
    [store sdl_setObject:multiTouchAvailable forName:SDLNameMultiTouchAvailable];
}

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

- (void)setDoublePressAvailable:(NSNumber<SDLBool> *)doublePressAvailable {
    [store sdl_setObject:doublePressAvailable forName:SDLNameDoublePressAvailable];
}

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

@end