blob: 535f93e6e86a3aa2d5deb295f626666e11b44c1f (
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
46
47
48
49
50
51
|
// SDLDimension.h
//
#import "SDLEnum.h"
#import <Foundation/Foundation.h>
/**
* The supported dimensions of the GPS.
*
* @since SDL 2.0
*/
@interface SDLDimension : SDLEnum {
}
/**
* Convert String to SDLDimension
*
* @param value The value of the string to get an object for
*
* @return SDLDimension
*/
+ (SDLDimension *)valueOf:(NSString *)value;
/**
* @abstract Store the enumeration of all possible SDLDimension
*
* @return An array that store all possible SDLDimension
*/
+ (NSArray *)values;
/**
* @abstract No GPS at all
* @return the dimension with value of *NO_FIX*
*/
+ (SDLDimension *)NO_FIX;
/**
* @abstract Longitude and latitude of the GPS
* @return the dimension with value of *2D*
*/
+ (SDLDimension *)_2D;
/**
* @abstract Longitude and latitude and altitude of the GPS
* @return the dimension with value of *3D*
*/
+ (SDLDimension *)_3D;
@end
|