summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLResponseDispatcher.m
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-07-28 16:22:57 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-07-28 16:22:57 -0400
commit416de1c106599bcf65e025dc2ebdb52b311c17c7 (patch)
tree978ff3f36eb5ad01e91a5dc4f476994b432aaaaa /SmartDeviceLink/SDLResponseDispatcher.m
parent9d28d849204c23101b477e74477faaf96bd01182 (diff)
downloadsdl_ios-416de1c106599bcf65e025dc2ebdb52b311c17c7.tar.gz
Some general cleanup
Diffstat (limited to 'SmartDeviceLink/SDLResponseDispatcher.m')
-rw-r--r--SmartDeviceLink/SDLResponseDispatcher.m22
1 files changed, 18 insertions, 4 deletions
diff --git a/SmartDeviceLink/SDLResponseDispatcher.m b/SmartDeviceLink/SDLResponseDispatcher.m
index 0297e5e69..9f84c6bb1 100644
--- a/SmartDeviceLink/SDLResponseDispatcher.m
+++ b/SmartDeviceLink/SDLResponseDispatcher.m
@@ -8,9 +8,25 @@
#import "SDLResponseDispatcher.h"
-#import "SmartDeviceLink.h" // TODO: Only the things we need
-
#import "NSMutableDictionary+SafeRemove.h"
+#import "SDLAddCommand.h"
+#import "SDLAlert.h"
+#import "SDLButtonName.h"
+#import "SDLDeleteCommand.h"
+#import "SDLDeleteCommandResponse.h"
+#import "SDLError.h"
+#import "SDLOnButtonEvent.h"
+#import "SDLOnButtonPress.h"
+#import "SDLOnCommand.h"
+#import "SDLResult.h"
+#import "SDLRPCResponse.h"
+#import "SDLScrollableMessage.h"
+#import "SDLShow.h"
+#import "SDLSoftButton.h"
+#import "SDLSubscribeButton.h"
+#import "SDLUnsubscribeButton.h"
+#import "SDLUnsubscribeButtonResponse.h"
+
NS_ASSUME_NONNULL_BEGIN
@@ -91,11 +107,9 @@ NS_ASSUME_NONNULL_BEGIN
// Check for RPCs that require an extra handler
if ([request isKindOfClass:[SDLShow class]]) {
- // TODO: Can we create soft button ids ourselves?
SDLShow *show = (SDLShow *)request;
[self sdl_addToHandlerMapWithSoftButtons:show.softButtons];
} else if ([request isKindOfClass:[SDLAddCommand class]]) {
- // TODO: Can we create CmdIDs ourselves?
SDLAddCommand *addCommand = (SDLAddCommand *)request;
if (!addCommand.cmdID) {
@throw [NSException sdl_missingIdException];