summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLTextAlignment.h
diff options
context:
space:
mode:
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;