DPL::TaskDecl<TaskSmack>(this),
m_context(context)
{
+ AddStep(&TaskSmack::StartStep);
AddStep(&TaskSmack::Step);
+ AddStep(&TaskSmack::EndStep);
}
void TaskSmack::Step()
if (PC_OPERATION_SUCCESS != app_uninstall(pkgId)) {
LogError("failure in removing smack rules file");
}
+#endif
+}
+
+void TaskSmack::StartStep()
+{
+ LogDebug("--------- <TaskSmack> : START ----------");
+}
+void TaskSmack::EndStep()
+{
m_context.job->UpdateProgress(
UninstallerContext::UNINSTALL_SMACK_DISABLE,
"Widget SMACK Disabled");
-#endif
+
+ LogDebug("--------- <TaskSmack> : END ----------");
}
} //namespace WidgetUninstall
} //namespace Jobs