summaryrefslogtreecommitdiff
path: root/SDL_iOS/SmartDeviceLinkProxy/Classes/SDLRPCMessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'SDL_iOS/SmartDeviceLinkProxy/Classes/SDLRPCMessage.h')
-rw-r--r--SDL_iOS/SmartDeviceLinkProxy/Classes/SDLRPCMessage.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/SDL_iOS/SmartDeviceLinkProxy/Classes/SDLRPCMessage.h b/SDL_iOS/SmartDeviceLinkProxy/Classes/SDLRPCMessage.h
new file mode 100644
index 000000000..f39e91d50
--- /dev/null
+++ b/SDL_iOS/SmartDeviceLinkProxy/Classes/SDLRPCMessage.h
@@ -0,0 +1,32 @@
+//
+// Copyright (c) 2013 Ford Motor Company
+//
+
+#import <Foundation/Foundation.h>
+#import "SDLEnum.h"
+
+@interface SDLRPCStruct : NSObject {
+ NSMutableDictionary* store;
+}
+
+-(id) initWithDictionary:(NSMutableDictionary*) dict;
+-(id) init;
+
+-(NSMutableDictionary*) serializeAsDictionary;
+
+@end
+
+@interface SDLRPCMessage : SDLRPCStruct {
+ NSMutableDictionary* function;
+ NSMutableDictionary* parameters;
+ NSString* messageType;
+
+}
+
+-(id) initWithName:(NSString*) name;
+-(id) initWithDictionary:(NSMutableDictionary*) dict;
+
+@property(readonly) NSString* name;
+@property(readonly) NSString* messageType;
+
+@end \ No newline at end of file