From 07f545ffd94c30848c9f7c8fdeef31f301e2dc96 Mon Sep 17 00:00:00 2001 From: Adam Banasiak Date: Tue, 10 Sep 2013 15:44:27 +0200 Subject: [PATCH] Change name (getInstallerStruct -> GetInstallerStruct) [Issue#] LINUXWRT-358 [Problem] Incorrect function name [Cause] N/A [Solution] Rename function Change-Id: I56bde2c393a61cc8af5a05f6f0d9dd92bc897a70 --- src/jobs/widget_install/task_configuration.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/jobs/widget_install/task_configuration.cpp b/src/jobs/widget_install/task_configuration.cpp index 5bdae02..53fdfba 100644 --- a/src/jobs/widget_install/task_configuration.cpp +++ b/src/jobs/widget_install/task_configuration.cpp @@ -179,13 +179,13 @@ void TaskConfiguration::PrepareInstallationStep() setInstallLocationType(configData); // TODO: (job_install_refactoring) hide this call m_context.callerPkgId = - DPL::FromUTF8String(m_context.job->getInstallerStruct().pkgmgrInterface->getCallerId()); + DPL::FromUTF8String(m_context.job->GetInstallerStruct().pkgmgrInterface->getCallerId()); LogDebug("Caller Package Id : " << m_context.callerPkgId); // Configure installation result = ConfigureInstallation(widgetPath, configData, tempDir); // TODO: (job_install_refactoring) hide this call - m_context.job->getInstallerStruct().pkgmgrInterface->sendSignal( + m_context.job->GetInstallerStruct().pkgmgrInterface->sendSignal( PKGMGR_PROGRESS_KEY, PKGMGR_START_VALUE); } @@ -319,7 +319,7 @@ void TaskConfiguration::setTizenId( // send start signal of pkgmgr // TODO: (job_install_refactoring) hide this call - m_context.job->getInstallerStruct().pkgmgrInterface->setPkgname(DPL::ToUTF8String( + m_context.job->GetInstallerStruct().pkgmgrInterface->setPkgname(DPL::ToUTF8String( m_context. widgetConfig. tzPkgid)); @@ -359,7 +359,7 @@ ConfigureResult TaskConfiguration::ConfigureInstallation( WidgetDAOReadOnly dao(m_context.widgetConfig.tzAppid); // no excpetion means, it isn't update mode // TODO: (job_install_refactoring) hide this call/ - m_context.job->getInstallerStruct().pkgmgrInterface->sendSignal( + m_context.job->GetInstallerStruct().pkgmgrInterface->sendSignal( PKGMGR_START_KEY, PKGMGR_START_UPDATE); @@ -377,7 +377,7 @@ ConfigureResult TaskConfiguration::ConfigureInstallation( } Catch(WidgetDAOReadOnly::Exception::WidgetNotExist) { // TODO: (job_install_refactoring) hide this call - m_context.job->getInstallerStruct().pkgmgrInterface->sendSignal( + m_context.job->GetInstallerStruct().pkgmgrInterface->sendSignal( PKGMGR_START_KEY, PKGMGR_START_INSTALL); result = ConfigureResult::Ok; -- 2.7.4