DPL::TaskDecl<TaskUpdateFiles>(this),
m_context(context)
{
+ AddStep(&TaskUpdateFiles::StartStep);
AddStep(&TaskUpdateFiles::StepBackupDirectory);
+ AddStep(&TaskUpdateFiles::EndStep);
AddAbortStep(&TaskUpdateFiles::StepAbortBackupDirectory);
}
}
WrtUtilMakeDir(pkgPath);
-
- m_context.job->UpdateProgress(
- InstallerContext::INSTALL_CREATE_BACKUP_DIR,
- "Backup directory created for update");
}
void TaskUpdateFiles::StepAbortBackupDirectory()
LogError("Failed to rename " << backPath << " to " << pkgPath);
}
}
+
+void TaskUpdateFiles::StartStep()
+{
+ LogDebug("--------- <TaskUpdateFiles> : START ----------");
+}
+
+void TaskUpdateFiles::EndStep()
+{
+ m_context.job->UpdateProgress(
+ InstallerContext::INSTALL_CREATE_BACKUP_DIR,
+ "Backup directory created for update");
+
+ LogDebug("--------- <TaskUpdateFiles> : END ----------");
+}
} //namespace WidgetInstall
} //namespace Jobs