Change name (getInstallerStruct -> GetInstallerStruct)
authorAdam Banasiak <a.banasiak@samsung.com>
Tue, 10 Sep 2013 13:44:27 +0000 (15:44 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Wed, 11 Sep 2013 07:12:21 +0000 (07:12 +0000)
[Issue#]   LINUXWRT-358
[Problem]  Incorrect function name
[Cause]    N/A
[Solution] Rename function

Change-Id: I56bde2c393a61cc8af5a05f6f0d9dd92bc897a70

src/jobs/widget_install/task_configuration.cpp

index 5bdae02..53fdfba 100644 (file)
@@ -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;