summaryrefslogtreecommitdiff
path: root/SmartDeviceLink-iOS/SmartDeviceLink/SDLProtocolMessageAssembler.h
diff options
context:
space:
mode:
authorJoel Fischer <joel@livio.io>2015-04-23 14:34:16 -0400
committerJoel Fischer <joel@livio.io>2015-04-23 14:34:16 -0400
commite13cb34132f9d31fdc962b4fd58b97aa844a3740 (patch)
tree632c80fd7f5daa4b815a1b79743a8d0d8bcf174f /SmartDeviceLink-iOS/SmartDeviceLink/SDLProtocolMessageAssembler.h
parent735d5725555e868de37513bf07b8a17200a2777f (diff)
parent2241c69164e74e592dee3b92aa47581928d9ce88 (diff)
downloadsdl_ios-feature/enable_warnings.tar.gz
Merge branch 'develop' into feature/enable_warningsfeature/enable_warnings
Conflicts: SmartDeviceLink-iOS/SmartDeviceLink-iOS.xcodeproj/project.pbxproj
Diffstat (limited to 'SmartDeviceLink-iOS/SmartDeviceLink/SDLProtocolMessageAssembler.h')
-rw-r--r--SmartDeviceLink-iOS/SmartDeviceLink/SDLProtocolMessageAssembler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProtocolMessageAssembler.h b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProtocolMessageAssembler.h
index 1a19c1088..427d18b5f 100644
--- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProtocolMessageAssembler.h
+++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProtocolMessageAssembler.h
@@ -1,9 +1,10 @@
// SDLSmartDeviceLinkProtocolMessageAssembler.h
//
+@import Foundation;
+@class SDLProtocolMessage;
-#import "SDLProtocolMessage.h"
typedef void(^SDLMessageAssemblyCompletionHandler)(BOOL done, SDLProtocolMessage *assembledMessage);
@@ -15,7 +16,7 @@ typedef void(^SDLMessageAssemblyCompletionHandler)(BOOL done, SDLProtocolMessage
@property (assign) UInt32 expectedBytes;
@property (strong) NSMutableDictionary *parts;
-- (id)initWithSessionID:(UInt8)sessionID;
+- (instancetype)initWithSessionID:(UInt8)sessionID;
- (void)handleMessage:(SDLProtocolMessage *)message withCompletionHandler:(SDLMessageAssemblyCompletionHandler)completionHandler;
@end