From 89eb253fac436c393e33d04f7374e5da3c6e7e66 Mon Sep 17 00:00:00 2001 From: Tomasz Iwanek Date: Mon, 8 Feb 2016 10:32:27 +0100 Subject: [PATCH] Adjust tpk-backend to plugin changes Following changes should be submitted together: - https://review.tizen.org/gerrit/#/c/59029/ - https://review.tizen.org/gerrit/#/c/59028/ - https://review.tizen.org/gerrit/#/c/59030/ - https://review.tizen.org/gerrit/#/c/59031/ Change-Id: Ibc7d640daaf2a97ecff50a224a4e9ecb5116de98 --- src/tpk/tpk_installer.cc | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/tpk/tpk_installer.cc b/src/tpk/tpk_installer.cc index 5667699..6e593e8 100644 --- a/src/tpk/tpk_installer.cc +++ b/src/tpk/tpk_installer.cc @@ -129,7 +129,7 @@ void TpkInstaller::InstallSteps() { AddStep(); AddStep(); AddStep( - ci::PluginsLauncher::ActionType::Install); + ci::Plugin::ActionType::Install); AddStep(); } @@ -161,8 +161,7 @@ void TpkInstaller::UpdateSteps() { AddStep(); AddStep(); AddStep(); - AddStep( - ci::PluginsLauncher::ActionType::Upgrade); + AddStep(ci::Plugin::ActionType::Upgrade); /* TODO(jungh.yeon): this temporary step will be removed * when secondary parsing procedure has removed*/ AddStep(); @@ -174,7 +173,7 @@ void TpkInstaller::UninstallSteps() { ci::parse::StepParseManifest::ManifestLocation::INSTALLED, ci::parse::StepParseManifest::StoreLocation::NORMAL); AddStep( - ci::PluginsLauncher::ActionType::Uninstall); + ci::Plugin::ActionType::Uninstall); AddStep(); AddStep(); AddStep(); @@ -215,8 +214,7 @@ void TpkInstaller::DeltaSteps() { AddStep(); AddStep(); AddStep(); - AddStep( - ci::PluginsLauncher::ActionType::Upgrade); + AddStep(ci::Plugin::ActionType::Upgrade); } void TpkInstaller::RecoverySteps() { @@ -249,8 +247,7 @@ void TpkInstaller::ManifestDirectInstallSteps() { AddStep(); AddStep(); AddStep(); - AddStep( - ci::PluginsLauncher::ActionType::Install); + AddStep(ci::Plugin::ActionType::Install); } void TpkInstaller::ManifestDirectUpdateSteps() { @@ -268,8 +265,7 @@ void TpkInstaller::ManifestDirectUpdateSteps() { AddStep(); AddStep(); AddStep(); - AddStep( - ci::PluginsLauncher::ActionType::Upgrade); + AddStep(ci::Plugin::ActionType::Upgrade); } void TpkInstaller::ClearSteps() { -- 2.7.4