summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLDisplayType.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/SDLDisplayType.h
parente6e84cc8c23609ab286c64a2c6a3037313f29908 (diff)
downloadsdl_ios-be7622fe60babba90276101db79a515597a9fea1.tar.gz
Initial conversion of all enum objects to SDLEnum typedef.
Diffstat (limited to 'SmartDeviceLink/SDLDisplayType.h')
-rw-r--r--SmartDeviceLink/SDLDisplayType.h45
1 files changed, 11 insertions, 34 deletions
diff --git a/SmartDeviceLink/SDLDisplayType.h b/SmartDeviceLink/SDLDisplayType.h
index 3bb2f2b9a..3147212d6 100644
--- a/SmartDeviceLink/SDLDisplayType.h
+++ b/SmartDeviceLink/SDLDisplayType.h
@@ -9,53 +9,30 @@
*
* @since SDL 1.0
*/
-@interface SDLDisplayType : SDLEnum {
-}
-
-/**
- * Convert String to SDLDisplayType
- *
- * @param value The value of the string to get an object for
- *
- * @return SDLDisplayType
- */
-+ (SDLDisplayType *)valueOf:(NSString *)value;
-
-/**
- * @abstract Store the enumeration of all possible SDLDisplayType
- *
- * @return an array that store all possible SDLDisplayType
- */
-+ (NSArray *)values;
+typedef SDLEnum SDLDisplayType NS_EXTENSIBLE_STRING_ENUM;
/**
* @abstract This display type provides a 2-line x 20 character "dot matrix" display.
- *
- * @return SDLDisplayType with value of *CID*
*/
-+ (SDLDisplayType *)CID;
+extern SDLDisplayType const SDLDisplayTypeCid;
-+ (SDLDisplayType *)TYPE2;
+extern SDLDisplayType const SDLDisplayTypeType2;
-+ (SDLDisplayType *)TYPE5;
+extern SDLDisplayType const SDLDisplayTypeType5;
/**
* @abstract This display type provides an 8 inch touchscreen display.
- *
- * @return SDLDisplayType with value of *NGN*
*/
-+ (SDLDisplayType *)NGN;
-
-+ (SDLDisplayType *)GEN2_8_DMA;
+extern SDLDisplayType const SDLDisplayTypeNgn;
-+ (SDLDisplayType *)GEN2_6_DMA;
+extern SDLDisplayType const SDLDisplayTypeGen28Dma;
-+ (SDLDisplayType *)MFD3;
+extern SDLDisplayType const SDLDisplayTypeGen26Dma;
-+ (SDLDisplayType *)MFD4;
+extern SDLDisplayType const SDLDisplayTypeMfd3;
-+ (SDLDisplayType *)MFD5;
+extern SDLDisplayType const SDLDisplayTypeMfd4;
-+ (SDLDisplayType *)GEN3_8_INCH;
+extern SDLDisplayType const SDLDisplayTypeMfd5;
-@end
+extern SDLDisplayType const SDLDisplayTypeGen38Inch;