summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLOnHashChange.m
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-05-25 08:44:23 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-05-25 08:44:23 -0400
commitfb8e9903a323acaf5fc78819bb3c203567542ab2 (patch)
treee40665103ac7db492e0a40e34cd92f3390defa55 /SmartDeviceLink/SDLOnHashChange.m
parentf7540a02262832e34c67b0953dd8a1804a046fea (diff)
downloadsdl_ios-fb8e9903a323acaf5fc78819bb3c203567542ab2.tar.gz
Shift files into root directory
Diffstat (limited to 'SmartDeviceLink/SDLOnHashChange.m')
-rw-r--r--SmartDeviceLink/SDLOnHashChange.m35
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