blob: 8aca9c14321e36ccc96190da4c9225d2ccd33f51 (
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
37
38
39
40
41
42
43
44
45
|
// SDLButtonPressMode.h
//
#import "SDLEnum.h"
/**
* Indicates whether this is a LONG or SHORT button press
*
* @since SDL 1.0
*/
@interface SDLButtonPressMode : SDLEnum {
}
/**
* @abstract Convert String to SDLButtonPressMode
*
* @param value The value of the string to get an object for
*
* @return SDLButtonPressMode
*/
+ (SDLButtonPressMode *)valueOf:(NSString *)value;
/**
* @abstract Store the enumeration of all possible SDLButtonPressMode
*
* @return an array that store all possible SDLButtonPressMode
*/
+ (NSArray *)values;
/**
* @abstract A button was released, after it was pressed for a long time. Actual timing is defined by the head unit and may vary.
*
* @return a SDLButtonPressMode with the value of *LONG*
*/
+ (SDLButtonPressMode *)LONG;
/**
* @abstract A button was released, after it was pressed for a short time. Actual timing is defined by the head unit and may vary.
*
* @return a SDLButtonPressMode with the value of *SHORT*
*/
+ (SDLButtonPressMode *)SHORT;
@end
|