summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLLanguage.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/SDLLanguage.h
parente6e84cc8c23609ab286c64a2c6a3037313f29908 (diff)
downloadsdl_ios-be7622fe60babba90276101db79a515597a9fea1.tar.gz
Initial conversion of all enum objects to SDLEnum typedef.
Diffstat (limited to 'SmartDeviceLink/SDLLanguage.h')
-rw-r--r--SmartDeviceLink/SDLLanguage.h68
1 files changed, 25 insertions, 43 deletions
diff --git a/SmartDeviceLink/SDLLanguage.h b/SmartDeviceLink/SDLLanguage.h
index 38d63746b..570e587c5 100644
--- a/SmartDeviceLink/SDLLanguage.h
+++ b/SmartDeviceLink/SDLLanguage.h
@@ -9,142 +9,124 @@
*
* @since SDL 1.0
*/
-@interface SDLLanguage : SDLEnum {
-}
+typedef SDLEnum SDLLanguage NS_EXTENSIBLE_STRING_ENUM;
-/**
- * @abstract Get a Langusge according to a String
- *
- * @param value The value of the string to get an object for
- *
- * @return The Language
- */
-+ (SDLLanguage *)valueOf:(NSString *)value;
-
-/**
- * @abstract store all possible Language values
- *
- * @return an array with all possible Language values inside
- */
-+ (NSArray *)values;
/*!
@abstract English_US
*/
-+ (SDLLanguage *)EN_US;
+extern SDLLanguage const SDLLanguageEnUs;
/**
@abstract Spanish - Mexico
*/
-+ (SDLLanguage *)ES_MX;
+extern SDLLanguage const SDLLanguageEsMx;
/**
* @abstract French - Canada
*/
-+ (SDLLanguage *)FR_CA;
+extern SDLLanguage const SDLLanguageFrCa;
/**
* @abstract German - Germany
*/
-+ (SDLLanguage *)DE_DE;
+extern SDLLanguage const SDLLanguageDeDe;
/**
* @abstract Spanish - Spain
*/
-+ (SDLLanguage *)ES_ES;
+extern SDLLanguage const SDLLanguageEsEs;
/**
@abstract English - Great Britain
*/
-+ (SDLLanguage *)EN_GB;
+extern SDLLanguage const SDLLanguageEnGb;
/**
* @abstract Russian - Russia
*/
-+ (SDLLanguage *)RU_RU;
+extern SDLLanguage const SDLLanguageRuRu;
/**
* @abstract Turkish - Turkey
*/
-+ (SDLLanguage *)TR_TR;
+extern SDLLanguage const SDLLanguageTrTr;
/**
* @abstract Polish - Poland
*/
-+ (SDLLanguage *)PL_PL;
+extern SDLLanguage const SDLLanguagePlPl;
/**
* @abstract French - France
*/
-+ (SDLLanguage *)FR_FR;
+extern SDLLanguage const SDLLanguageFrFr;
/**
* @abstract Italian - Italy
*/
-+ (SDLLanguage *)IT_IT;
+extern SDLLanguage const SDLLanguageItIt;
/**
* @abstract Swedish - Sweden
*/
-+ (SDLLanguage *)SV_SE;
+extern SDLLanguage const SDLLanguageSvSe;
/**
* @abstract Portuguese - Portugal
*/
-+ (SDLLanguage *)PT_PT;
+extern SDLLanguage const SDLLanguagePtPt;
/**
* @abstract Dutch (Standard) - Netherlands
*/
-+ (SDLLanguage *)NL_NL;
+extern SDLLanguage const SDLLanguageNlNl;
/**
* @abstract English - Australia
*/
-+ (SDLLanguage *)EN_AU;
+extern SDLLanguage const SDLLanguageEnAu;
/**
* @abstract Mandarin - China
*/
-+ (SDLLanguage *)ZH_CN;
+extern SDLLanguage const SDLLanguageZhCn;
/**
* @abstract Mandarin - Taiwan
*/
-+ (SDLLanguage *)ZH_TW;
+extern SDLLanguage const SDLLanguageZhTw;
/**
* @abstract Japanese - Japan
*/
-+ (SDLLanguage *)JA_JP;
+extern SDLLanguage const SDLLanguageJaJp;
/**
* @abstract Arabic - Saudi Arabia
*/
-+ (SDLLanguage *)AR_SA;
+extern SDLLanguage const SDLLanguageArSa;
/**
* @abstract Korean - South Korea
*/
-+ (SDLLanguage *)KO_KR;
+extern SDLLanguage const SDLLanguageKoKr;
/**
* @abstract Portuguese - Brazil
*/
-+ (SDLLanguage *)PT_BR;
+extern SDLLanguage const SDLLanguagePtBr;
/**
* @abstract Czech - Czech Republic
*/
-+ (SDLLanguage *)CS_CZ;
+extern SDLLanguage const SDLLanguageCsCz;
/**
* @abstract Danish - Denmark
*/
-+ (SDLLanguage *)DA_DK;
+extern SDLLanguage const SDLLanguageDaDk;
/**
* @abstract Norwegian - Norway
*/
-+ (SDLLanguage *)NO_NO;
-
-@end
+extern SDLLanguage const SDLLanguageNoNo;