diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-05-25 08:44:23 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-05-25 08:44:23 -0400 |
commit | fb8e9903a323acaf5fc78819bb3c203567542ab2 (patch) | |
tree | e40665103ac7db492e0a40e34cd92f3390defa55 /SmartDeviceLink/SDLOnHashChange.m | |
parent | f7540a02262832e34c67b0953dd8a1804a046fea (diff) | |
download | sdl_ios-fb8e9903a323acaf5fc78819bb3c203567542ab2.tar.gz |
Shift files into root directory
Diffstat (limited to 'SmartDeviceLink/SDLOnHashChange.m')
-rw-r--r-- | SmartDeviceLink/SDLOnHashChange.m | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLOnHashChange.m b/SmartDeviceLink/SDLOnHashChange.m new file mode 100644 index 000000000..b1bfd8c6a --- /dev/null +++ b/SmartDeviceLink/SDLOnHashChange.m @@ -0,0 +1,35 @@ +// SDLOnHashChange.m +// + + +#import "SDLOnHashChange.h" + +#import "SDLNames.h" + +@implementation SDLOnHashChange + +- (instancetype)init { + if (self = [super initWithName:NAMES_OnHashChange]) { + } + return self; +} + +- (instancetype)initWithDictionary:(NSMutableDictionary *)dict { + if (self = [super initWithDictionary:dict]) { + } + return self; +} + +- (void)setHashID:(NSString *)hashID { + if (hashID != nil) { + [parameters setObject:hashID forKey:NAMES_hashID]; + } else { + [parameters removeObjectForKey:NAMES_hashID]; + } +} + +- (NSString *)hashID { + return [parameters objectForKey:NAMES_hashID]; +} + +@end |