diff options
Diffstat (limited to 'SmartDeviceLink/SDLVehicleDataResult.m')
-rw-r--r-- | SmartDeviceLink/SDLVehicleDataResult.m | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/SmartDeviceLink/SDLVehicleDataResult.m b/SmartDeviceLink/SDLVehicleDataResult.m index e395717eb..0100522e5 100644 --- a/SmartDeviceLink/SDLVehicleDataResult.m +++ b/SmartDeviceLink/SDLVehicleDataResult.m @@ -3,7 +3,7 @@ #import "SDLVehicleDataResult.h" -#import "SDLNames.h" + #import "SDLVehicleDataResultCode.h" #import "SDLVehicleDataType.h" @@ -24,14 +24,14 @@ - (void)setDataType:(SDLVehicleDataType *)dataType { if (dataType != nil) { - [store setObject:dataType forKey:NAMES_dataType]; + [store setObject:dataType forKey:SDLNameDataType]; } else { - [store removeObjectForKey:NAMES_dataType]; + [store removeObjectForKey:SDLNameDataType]; } } - (SDLVehicleDataType *)dataType { - NSObject *obj = [store objectForKey:NAMES_dataType]; + NSObject *obj = [store objectForKey:SDLNameDataType]; if (obj == nil || [obj isKindOfClass:SDLVehicleDataType.class]) { return (SDLVehicleDataType *)obj; } else { @@ -41,14 +41,14 @@ - (void)setResultCode:(SDLVehicleDataResultCode *)resultCode { if (resultCode != nil) { - [store setObject:resultCode forKey:NAMES_resultCode]; + [store setObject:resultCode forKey:SDLNameResultCode]; } else { - [store removeObjectForKey:NAMES_resultCode]; + [store removeObjectForKey:SDLNameResultCode]; } } - (SDLVehicleDataResultCode *)resultCode { - NSObject *obj = [store objectForKey:NAMES_resultCode]; + NSObject *obj = [store objectForKey:SDLNameResultCode]; if (obj == nil || [obj isKindOfClass:SDLVehicleDataResultCode.class]) { return (SDLVehicleDataResultCode *)obj; } else { |