summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLOnHashChange.m
diff options
context:
space:
mode:
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