diff options
author | Oleksandr Lohvinenko (GitHub) <OLohvinenko@luxoft.com> | 2018-05-23 17:06:17 +0300 |
---|---|---|
committer | Ira Lytvynenko (GitHub) <ILytvynenko@luxoft.com> | 2018-06-26 12:01:47 +0300 |
commit | 17f51a4f8990c9a457f503327baaca46d31fd87b (patch) | |
tree | 15414c65b75082b43716b7fd99212c5932b843fb /src/components/application_manager/rpc_plugins/vehicle_info_plugin/include | |
parent | 7f30c90f62fdd48ffdc3e409243661e56bd57f19 (diff) | |
download | sdl_core-17f51a4f8990c9a457f503327baaca46d31fd87b.tar.gz |
Removed usages of moved modules from rpc plugin, minor code improvement.
Diffstat (limited to 'src/components/application_manager/rpc_plugins/vehicle_info_plugin/include')
3 files changed, 8 insertions, 4 deletions
diff --git a/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_command_factory.h b/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_command_factory.h index 21d6afa768..3919328d3b 100644 --- a/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_command_factory.h +++ b/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_command_factory.h @@ -70,6 +70,8 @@ private: policy::PolicyHandlerInterface& policy_handler_; std::unique_ptr<app_mngr::CommandFactory> hmi_command_factory_; std::unique_ptr<app_mngr::CommandFactory> mob_command_factory_; + // std::unique_ptr<VehicleInfoHmiCommandFactory> hmi_command_factory_; + // std::unique_ptr<VehicleInfoMobileCommandFactory> mob_command_factory_; }; } diff --git a/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_hmi_command_factory.h b/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_hmi_command_factory.h index 36fdd3c25f..8e0242eafd 100644 --- a/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_hmi_command_factory.h +++ b/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_hmi_command_factory.h @@ -41,7 +41,7 @@ namespace app_mngr = application_manager; /** * @brief The vehicle info hmi command factory. */ -class VehicleInfoHmiCommandFactory : app_mngr::CommandFactory { +class VehicleInfoHmiCommandFactory : public app_mngr::CommandFactory { public: VehicleInfoHmiCommandFactory( app_mngr::ApplicationManager& application_manager, @@ -64,7 +64,8 @@ private: app_mngr::HMICapabilities& hmi_capabilities_; policy::PolicyHandlerInterface& policy_handler_; - app_mngr::CommandCreator& buildCommandCreator(int32_t function_id, int32_t message_type); + app_mngr::CommandCreator& buildCommandCreator( + const int32_t function_id, const int32_t message_type) const; DISALLOW_COPY_AND_ASSIGN(VehicleInfoHmiCommandFactory); }; diff --git a/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_mobile_command_factory.h b/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_mobile_command_factory.h index cd90219fc1..890ed3220a 100644 --- a/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_mobile_command_factory.h +++ b/src/components/application_manager/rpc_plugins/vehicle_info_plugin/include/vehicle_info_plugin/vehicle_info_mobile_command_factory.h @@ -41,7 +41,7 @@ namespace app_mngr = application_manager; /** * @brief The vehicle info mobile command factory. */ -class VehicleInfoMobileCommandFactory : app_mngr::CommandFactory { +class VehicleInfoMobileCommandFactory : public app_mngr::CommandFactory { public: VehicleInfoMobileCommandFactory( app_mngr::ApplicationManager& application_manager, @@ -64,7 +64,8 @@ private: app_mngr::HMICapabilities& hmi_capabilities_; policy::PolicyHandlerInterface& policy_handler_; - app_mngr::CommandCreator& buildCommandCreator(int32_t function_id, int32_t message_type); + app_mngr::CommandCreator& buildCommandCreator( + const int32_t function_id, const int32_t message_type) const; DISALLOW_COPY_AND_ASSIGN(VehicleInfoMobileCommandFactory); }; |