summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/set_cloud_app_properties_response.cc
blob: 15297885442f2da29331223e9f984283061ab32d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "sdl_rpc_plugin/commands/mobile/set_cloud_app_properties_response.h"
#include "application_manager/application_manager.h"
#include "application_manager/rpc_service.h"

namespace sdl_rpc_plugin {
using namespace application_manager;

namespace commands {

SDL_CREATE_LOG_VARIABLE("Commands")

SetCloudAppPropertiesResponse::SetCloudAppPropertiesResponse(
    const app_mngr::commands::MessageSharedPtr& message,
    app_mngr::ApplicationManager& application_manager,
    app_mngr::rpc_service::RPCService& rpc_service,
    app_mngr::HMICapabilities& hmi_capabilities,
    policy::PolicyHandlerInterface& policy_handler)
    : CommandResponseImpl(message,
                          application_manager,
                          rpc_service,
                          hmi_capabilities,
                          policy_handler) {}

SetCloudAppPropertiesResponse::~SetCloudAppPropertiesResponse() {}

void SetCloudAppPropertiesResponse::Run() {
  SDL_LOG_AUTO_TRACE();

  rpc_service_.SendMessageToMobile(message_);
}

}  // namespace commands
}  // namespace sdl_rpc_plugin