summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLKeyboardEvent.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/SDLKeyboardEvent.h
parente6e84cc8c23609ab286c64a2c6a3037313f29908 (diff)
downloadsdl_ios-be7622fe60babba90276101db79a515597a9fea1.tar.gz
Initial conversion of all enum objects to SDLEnum typedef.
Diffstat (limited to 'SmartDeviceLink/SDLKeyboardEvent.h')
-rw-r--r--SmartDeviceLink/SDLKeyboardEvent.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/SmartDeviceLink/SDLKeyboardEvent.h b/SmartDeviceLink/SDLKeyboardEvent.h
index f0d90530e..958d417e3 100644
--- a/SmartDeviceLink/SDLKeyboardEvent.h
+++ b/SmartDeviceLink/SDLKeyboardEvent.h
@@ -9,37 +9,29 @@
* @since SmartDeviceLink 3.0
*
*/
-@interface SDLKeyboardEvent : SDLEnum {
-}
-
-+ (SDLKeyboardEvent *)valueOf:(NSString *)value;
-+ (NSArray *)values;
+typedef SDLEnum SDLKeyboardEvent NS_EXTENSIBLE_STRING_ENUM;
/** The use has pressed the keyboard key (applies to both SINGLE_KEYPRESS and RESEND_CURRENT_ENTRY modes).
*
*/
-+ (SDLKeyboardEvent *)KEYPRESS;
+extern SDLKeyboardEvent const SDLKeyboardEventKeypress;
/** The User has finished entering text from the keyboard and submitted the entry.
*
*/
-
-+ (SDLKeyboardEvent *)ENTRY_SUBMITTED;
+extern SDLKeyboardEvent const SDLKeyboardEventEntrySubmitted;
/** The User has pressed the HMI-defined "Cancel" button.
*
*/
-+ (SDLKeyboardEvent *)ENTRY_CANCELLED;
-
+extern SDLKeyboardEvent const SDLKeyboardEventEntryCancelled;
/** The User has not finished entering text and the keyboard is aborted with the event of higher priority.
*
*/
-+ (SDLKeyboardEvent *)ENTRY_ABORTED;
+extern SDLKeyboardEvent const SDLKeyboardEventEntryAborted;
/**
* @since SDL 4.0
*/
-+ (SDLKeyboardEvent *)ENTRY_VOICE;
-
-@end
+extern SDLKeyboardEvent const SDLKeyboardEventEntryVoice;