diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-09-21 16:40:21 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-09-21 16:40:21 -0700 |
commit | dd05e5044ee245e26b132698f860bd534198705b (patch) | |
tree | 65537bfa5844986dc2d3c6c317056362949d330c /SmartDeviceLink/SDLDiagnosticMessageResponse.m | |
parent | e6e84cc8c23609ab286c64a2c6a3037313f29908 (diff) | |
download | sdl_ios-dd05e5044ee245e26b132698f860bd534198705b.tar.gz |
Replaced all defines with constant strings of the SDLName typedef. Also modified SDLFunctionID to use a static dictionary.
Diffstat (limited to 'SmartDeviceLink/SDLDiagnosticMessageResponse.m')
-rw-r--r-- | SmartDeviceLink/SDLDiagnosticMessageResponse.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/SmartDeviceLink/SDLDiagnosticMessageResponse.m b/SmartDeviceLink/SDLDiagnosticMessageResponse.m index f8215d977..809e10fa7 100644 --- a/SmartDeviceLink/SDLDiagnosticMessageResponse.m +++ b/SmartDeviceLink/SDLDiagnosticMessageResponse.m @@ -3,12 +3,12 @@ #import "SDLDiagnosticMessageResponse.h" -#import "SDLNames.h" + @implementation SDLDiagnosticMessageResponse - (instancetype)init { - if (self = [super initWithName:NAMES_DiagnosticMessage]) { + if (self = [super initWithName:SDLNameDiagnosticMessage]) { } return self; } @@ -21,14 +21,14 @@ - (void)setMessageDataResult:(NSMutableArray *)messageDataResult { if (messageDataResult != nil) { - [parameters setObject:messageDataResult forKey:NAMES_messageDataResult]; + [parameters setObject:messageDataResult forKey:SDLNameMessageDataResult]; } else { - [parameters removeObjectForKey:NAMES_messageDataResult]; + [parameters removeObjectForKey:SDLNameMessageDataResult]; } } - (NSMutableArray *)messageDataResult { - return [parameters objectForKey:NAMES_messageDataResult]; + return [parameters objectForKey:SDLNameMessageDataResult]; } @end |