summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLTextAlignment.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/SDLTextAlignment.h
parente6e84cc8c23609ab286c64a2c6a3037313f29908 (diff)
downloadsdl_ios-be7622fe60babba90276101db79a515597a9fea1.tar.gz
Initial conversion of all enum objects to SDLEnum typedef.
Diffstat (limited to 'SmartDeviceLink/SDLTextAlignment.h')
-rw-r--r--SmartDeviceLink/SDLTextAlignment.h33
1 files changed, 4 insertions, 29 deletions
diff --git a/SmartDeviceLink/SDLTextAlignment.h b/SmartDeviceLink/SDLTextAlignment.h
index 0d9913e86..0f5f921c8 100644
--- a/SmartDeviceLink/SDLTextAlignment.h
+++ b/SmartDeviceLink/SDLTextAlignment.h
@@ -9,44 +9,19 @@
*
* @since SDL 1.0
*/
-@interface SDLTextAlignment : SDLEnum {
-}
-
-/**
- * Convert String to SDLTextAlignment
- *
- * @param value The value of the string to get an object for
- *
- * @return SDLTextAlignment
- */
-+ (SDLTextAlignment *)valueOf:(NSString *)value;
-
-/**
- * @abstract Store the enumeration of all possible SDLTextAlignment
- *
- * @return an array that store all possible SDLTextAlignment
- */
-+ (NSArray *)values;
+typedef SDLEnum SDLTextAlignment NS_EXTENSIBLE_STRING_ENUM;
/**
* @abstract Text aligned left.
- *
- * @return A SDLTextAlignment object with value of *LEFT_ALIGNED*
*/
-+ (SDLTextAlignment *)LEFT_ALIGNED;
+extern SDLTextAlignment const SDLTextAlignmentLeftAligned;
/**
* @abstract Text aligned right.
- *
- * @return A SDLTextAlignment object with value of *RIGHT_ALIGNED*
*/
-+ (SDLTextAlignment *)RIGHT_ALIGNED;
+extern SDLTextAlignment const SDLTextAlignmentRightAligned;
/**
* @abstract Text aligned centered.
- *
- * @return A SDLTextAlignment object with value of *CENTERED*
*/
-+ (SDLTextAlignment *)CENTERED;
-
-@end
+extern SDLTextAlignment const SDLTextAlignmentCentered;