summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLTriggerSource.h
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2016-09-21 12:13:36 -0700
committerMuller, Alexander (A.) <amulle19@ford.com>2016-09-21 12:13:36 -0700
commitbe7622fe60babba90276101db79a515597a9fea1 (patch)
tree8bbcc0a3433ae8e42fa2204c9a36712cce0203ca /SmartDeviceLink/SDLTriggerSource.h
parente6e84cc8c23609ab286c64a2c6a3037313f29908 (diff)
downloadsdl_ios-be7622fe60babba90276101db79a515597a9fea1.tar.gz
Initial conversion of all enum objects to SDLEnum typedef.
Diffstat (limited to 'SmartDeviceLink/SDLTriggerSource.h')
-rw-r--r--SmartDeviceLink/SDLTriggerSource.h27
1 files changed, 4 insertions, 23 deletions
diff --git a/SmartDeviceLink/SDLTriggerSource.h b/SmartDeviceLink/SDLTriggerSource.h
index 36e646f17..ab5a848c7 100644
--- a/SmartDeviceLink/SDLTriggerSource.h
+++ b/SmartDeviceLink/SDLTriggerSource.h
@@ -9,38 +9,19 @@
*
* @since SDL 1.0
*/
-@interface SDLTriggerSource : SDLEnum {
-}
-
-/**
- * Convert String to SDLTriggerSource
- * @param value The value of the string to get an object for
- * @return SDLTriggerSource
- */
-+ (SDLTriggerSource *)valueOf:(NSString *)value;
-
-/**
- @abstract Store the enumeration of all possible SDLTriggerSource
- @return an array that store all possible SDLTriggerSource
- */
-+ (NSArray *)values;
+typedef SDLEnum SDLTriggerSource NS_EXTENSIBLE_STRING_ENUM;
/**
* @abstract Selection made via menu
- * @return SDLTriggerSource with value of *MENU*
*/
-+ (SDLTriggerSource *)MENU;
+extern SDLTriggerSource const SDLTriggerSourceMenu;
/**
* @abstract Selection made via Voice session
- * @return SDLTriggerSource with value of *VR*
*/
-+ (SDLTriggerSource *)VR;
+extern SDLTriggerSource const SDLTriggerSourceVr;
/**
* @abstract Selection made via Keyboard
- * @return SDLTriggerSource with value of *KEYBOARD*
*/
-+ (SDLTriggerSource *)KEYBOARD;
-
-@end
+extern SDLTriggerSource const SDLTriggerSourceKeyboard;