diff options
Diffstat (limited to 'SmartDeviceLink/SDLRPCStruct.h')
-rw-r--r-- | SmartDeviceLink/SDLRPCStruct.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/SmartDeviceLink/SDLRPCStruct.h b/SmartDeviceLink/SDLRPCStruct.h index e38efa678..d56b28800 100644 --- a/SmartDeviceLink/SDLRPCStruct.h +++ b/SmartDeviceLink/SDLRPCStruct.h @@ -6,8 +6,7 @@ #import "NSNumber+NumberType.h" -// This is so we don't have to expose this to the project. (could also make the functions below an internal protocol). -typedef NSString* SDLName; +#import "NSMutableDictionary+Store.h" @interface SDLRPCStruct : NSObject { NSMutableDictionary<NSString *, id> *store; @@ -18,11 +17,4 @@ typedef NSString* SDLName; - (NSDictionary<NSString *, id> *)serializeAsDictionary:(Byte)version; -- (void)setObject:(NSObject*)object forName:(SDLName)name inStorage:(NSMutableDictionary*)storage; -- (void)setObject:(NSObject *)object forName:(SDLName)name; -- (id)objectForName:(SDLName)name fromStorage:(NSMutableDictionary*)storage; -- (id)objectForName:(SDLName)name; -- (id)objectForName:(SDLName)name ofClass:(Class)classType; -- (NSMutableArray *)objectsForName:(SDLName)name ofClass:(Class)classType; - @end |