summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLSamplingRate.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/SDLSamplingRate.h
parente6e84cc8c23609ab286c64a2c6a3037313f29908 (diff)
downloadsdl_ios-be7622fe60babba90276101db79a515597a9fea1.tar.gz
Initial conversion of all enum objects to SDLEnum typedef.
Diffstat (limited to 'SmartDeviceLink/SDLSamplingRate.h')
-rw-r--r--SmartDeviceLink/SDLSamplingRate.h40
1 files changed, 8 insertions, 32 deletions
diff --git a/SmartDeviceLink/SDLSamplingRate.h b/SmartDeviceLink/SDLSamplingRate.h
index 28d3d35dc..ce9db8c62 100644
--- a/SmartDeviceLink/SDLSamplingRate.h
+++ b/SmartDeviceLink/SDLSamplingRate.h
@@ -9,48 +9,24 @@
*
* @since SDL 2.0
*/
-@interface SDLSamplingRate : SDLEnum {
-}
-
-/**
- * @abstract get SDLSamplingRate according value string
- *
- * @param value The value of the string to get an object for
- *
- * @return SDLSamplingRate object
- */
-+ (SDLSamplingRate *)valueOf:(NSString *)value;
-
-/**
- * @abstract declare an array to store all possible SDLSamplingRate values
- *
- * @return the array
- */
-+ (NSArray *)values;
+typedef SDLEnum SDLSamplingRate NS_EXTENSIBLE_STRING_ENUM;
/**
* @abstract Sampling rate of 8 kHz
- *
- * @return SamplingRate of *8KHZ*
*/
-+ (SDLSamplingRate *)_8KHZ;
+extern SDLSamplingRate const SDLSamplingRate8Khz;
+
/**
* @abstract Sampling rate of 16 kHz
- *
- * @return SamplingRate of *16KHZ*
*/
-+ (SDLSamplingRate *)_16KHZ;
+extern SDLSamplingRate const SDLSamplingRate16Khz;
+
/**
* @abstract Sampling rate of 22 kHz
- *
- * @return SamplingRate of *22KHZ*
*/
-+ (SDLSamplingRate *)_22KHZ;
+extern SDLSamplingRate const SDLSamplingRate22Khz;
+
/**
* @abstract Sampling rate of 44 kHz
- *
- * @return SamplingRate of *44KHZ*
*/
-+ (SDLSamplingRate *)_44KHZ;
-
-@end
+extern SDLSamplingRate const SDLSamplingRate44Khz;