From: Tomasz Iwanek Date: Mon, 8 Feb 2016 09:32:27 +0000 (+0100) Subject: Adjust tpk-backend to plugin changes X-Git-Tag: accepted/tizen/common/20160304.194920^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89eb253fac436c393e33d04f7374e5da3c6e7e66;p=platform%2Fcore%2Fappfw%2Ftpk-backend.git 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 --- 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() {