diff options
author | Ira Lytvynenko <ILytvynenko@luxoft.com> | 2018-02-08 13:51:15 +0200 |
---|---|---|
committer | Ira Lytvynenko (GitHub) <ILytvynenko@luxoft.com> | 2018-06-26 12:01:43 +0300 |
commit | c25d13465f7e0984f217a9f6c50d7c88c446eaf4 (patch) | |
tree | b9924cc8d895f76a9d1b5fbc732e3c9da2e7a660 /src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/system_request.cc | |
parent | 691e6018cf1a09eb6aeb5f2c4fa4b93bc3ffb429 (diff) | |
download | sdl_core-c25d13465f7e0984f217a9f6c50d7c88c446eaf4.tar.gz |
Load plugins in app manager, init plugin with params
cory library to install dir
Fix build
Fix header guards
Fix namespaces
Fix build
Diffstat (limited to 'src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/system_request.cc')
-rw-r--r-- | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/system_request.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/system_request.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/system_request.cc index 1c612dd8c3..5001226ff9 100644 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/system_request.cc +++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/system_request.cc @@ -47,7 +47,8 @@ Copyright (c) 2013, Ford Motor Company #include "utils/helpers.h" #include "utils/custom_string.h" -namespace application_manager { +namespace sdl_rpc_plugin { +using namespace application_manager; CREATE_LOGGERPTR_LOCAL(logger_, "ApplicationManager") namespace { @@ -431,8 +432,9 @@ uint32_t SystemRequest::index = 0; const std::string kSYNC = "SYNC"; const std::string kIVSU = "IVSU"; -SystemRequest::SystemRequest(const MessageSharedPtr& message, - ApplicationManager& application_manager) +SystemRequest::SystemRequest( + const application_manager::commands::MessageSharedPtr& message, + ApplicationManager& application_manager) : CommandRequestImpl(message, application_manager) {} SystemRequest::~SystemRequest() {} @@ -558,7 +560,8 @@ void SystemRequest::Run() { << file_name << " within previously saved app file in " << binary_data_folder); - const AppFile* file = application->GetFile(app_full_file_path); + const application_manager::AppFile* file = + application->GetFile(app_full_file_path); if (!file || !file->is_download_complete || !file_system::MoveFile(app_full_file_path, file_dst_path)) { LOG4CXX_DEBUG(logger_, "Binary data not found."); |