summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLDriverDistractionState.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLDriverDistractionState.h')
-rw-r--r--SmartDeviceLink/SDLDriverDistractionState.h28
1 files changed, 3 insertions, 25 deletions
diff --git a/SmartDeviceLink/SDLDriverDistractionState.h b/SmartDeviceLink/SDLDriverDistractionState.h
index 7143d09d2..97d1841d8 100644
--- a/SmartDeviceLink/SDLDriverDistractionState.h
+++ b/SmartDeviceLink/SDLDriverDistractionState.h
@@ -9,37 +9,15 @@
*
* @since SDL 1.0
*/
-@interface SDLDriverDistractionState : SDLEnum {
-}
-
-/**
- * Convert String to SDLDisplayType
- *
- * @param value The value of the string to get an object for
- *
- * @return SDLDisplayType
- */
-+ (SDLDriverDistractionState *)valueOf:(NSString *)value;
-
-/**
- * @abstract Store the enumeration of all possible SDLDriverDistractionState
- *
- * @return an array that store all possible SDLDriverDistractionState
- */
-+ (NSArray *)values;
+typedef SDLEnum SDLDriverDistractionState NS_EXTENSIBLE_STRING_ENUM;
/**
* @abstract Driver distraction rules are in effect.
- *
- * @return a SDLDriverDistractionState with value of *DD_ON*
*/
-+ (SDLDriverDistractionState *)DD_ON;
+extern SDLDriverDistractionState const SDLDriverDistractionStateOn;
/**
* @abstract Driver distraction rules are NOT in effect.
- *
- * @return a SDLDriverDistractionState with value of *DD_OFF*
*/
-+ (SDLDriverDistractionState *)DD_OFF;
+extern SDLDriverDistractionState const SDLDriverDistractionStateOff;
-@end