diff options
Diffstat (limited to 'SmartDeviceLink/SDLCompassDirection.h')
-rw-r--r-- | SmartDeviceLink/SDLCompassDirection.h | 42 |
1 files changed, 9 insertions, 33 deletions
diff --git a/SmartDeviceLink/SDLCompassDirection.h b/SmartDeviceLink/SDLCompassDirection.h index cad90cc90..1d61391b4 100644 --- a/SmartDeviceLink/SDLCompassDirection.h +++ b/SmartDeviceLink/SDLCompassDirection.h @@ -9,68 +9,44 @@ * * @since SDL 2.0 */ -@interface SDLCompassDirection : SDLEnum { -} - -/** - * @abstract Convert String to SDLCompassDirection - * @param value The value of the string to get an object for - * @return SDLCompassDirection - */ -+ (SDLCompassDirection *)valueOf:(NSString *)value; - -/** - * @abstract Store the enumeration of all possible SDLCompassDirection - * @return An array that store all possible SDLCompassDirection - */ -+ (NSArray *)values; +typedef SDLEnum SDLCompassDirection NS_EXTENSIBLE_STRING_ENUM; /** * @abstract Direction North - * @return A SDLCompassDirection with the value of *NORTH* */ -+ (SDLCompassDirection *)NORTH; +extern SDLCompassDirection const SDLCompassDirectionNorth; /** * @abstract Direction Northwest - * @return A SDLCompassDirection with the value of *NORTHWEST* */ -+ (SDLCompassDirection *)NORTHWEST; +extern SDLCompassDirection const SDLCompassDirectionNorthwest; /** * @abstract Direction West - * @return A SDLCompassDirection with the value of *WEST* */ -+ (SDLCompassDirection *)WEST; +extern SDLCompassDirection const SDLCompassDirectionWest; /** * @abstract Direction Southwest - * @return A SDLCompassDirection with the value of *SOUTHWEST* */ -+ (SDLCompassDirection *)SOUTHWEST; +extern SDLCompassDirection const SDLCompassDirectionSouthwest; /** * @abstract Direction South - * @return A SDLCompassDirection with the value of *SOUTH* */ -+ (SDLCompassDirection *)SOUTH; +extern SDLCompassDirection const SDLCompassDirectionSouth; /** * @abstract Direction Southeast - * @return A SDLCompassDirection with the value of *SOUTHEAST* */ -+ (SDLCompassDirection *)SOUTHEAST; +extern SDLCompassDirection const SDLCompassDirectionSoutheast; /** * @abstract Direction East - * @return A SDLCompassDirection with the value of *EAST* */ -+ (SDLCompassDirection *)EAST; +extern SDLCompassDirection const SDLCompassDirectionEast; /** * @abstract Direction Northeast - * @return A SDLCompassDirection with the value of *NORTHEAST* */ -+ (SDLCompassDirection *)NORTHEAST; - -@end +extern SDLCompassDirection const SDLCompassDirectionNortheast; |