diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-05-25 08:44:23 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-05-25 08:44:23 -0400 |
commit | fb8e9903a323acaf5fc78819bb3c203567542ab2 (patch) | |
tree | e40665103ac7db492e0a40e34cd92f3390defa55 /SmartDeviceLink/SDLDimension.h | |
parent | f7540a02262832e34c67b0953dd8a1804a046fea (diff) | |
download | sdl_ios-fb8e9903a323acaf5fc78819bb3c203567542ab2.tar.gz |
Shift files into root directory
Diffstat (limited to 'SmartDeviceLink/SDLDimension.h')
-rw-r--r-- | SmartDeviceLink/SDLDimension.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLDimension.h b/SmartDeviceLink/SDLDimension.h new file mode 100644 index 000000000..535f93e6e --- /dev/null +++ b/SmartDeviceLink/SDLDimension.h @@ -0,0 +1,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 |