summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLRPCNotificationNotification.h
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-08-25 16:56:14 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-08-25 16:56:14 -0400
commit44d6fd093b5ffd3267e34ce48003ef15a930b195 (patch)
tree2729ba1f7c99c5ad59d7e9a8397e57d5cec9d39c /SmartDeviceLink/SDLRPCNotificationNotification.h
parentad762812898c1849be83eb4dbefcba475dfbafe1 (diff)
downloadsdl_ios-44d6fd093b5ffd3267e34ce48003ef15a930b195.tar.gz
Add typed SDL notifications with backward compatibility
Diffstat (limited to 'SmartDeviceLink/SDLRPCNotificationNotification.h')
-rw-r--r--SmartDeviceLink/SDLRPCNotificationNotification.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLRPCNotificationNotification.h b/SmartDeviceLink/SDLRPCNotificationNotification.h
new file mode 100644
index 000000000..ba0b7a05f
--- /dev/null
+++ b/SmartDeviceLink/SDLRPCNotificationNotification.h
@@ -0,0 +1,24 @@
+//
+// SDLRPCNotificationNotification.h
+// SmartDeviceLink-iOS
+//
+// Created by Joel Fischer on 8/25/16.
+// Copyright © 2016 smartdevicelink. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@class SDLRPCNotification;
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface SDLRPCNotificationNotification : NSNotification
+
+@property (copy, nonatomic, readonly) SDLRPCNotification *notification;
+
+- (instancetype)initWithName:(NSString *)name object:(id)object rpcNotification:(__kindof SDLRPCNotification *)notification;
+
+@end
+
+NS_ASSUME_NONNULL_END \ No newline at end of file