#define INSTALLER_CORE_JOS_WIDGET_INSTALL_TASK_DATABASE_H
#include <dpl/task.h>
+#include <dpl/wrt-dao-ro/common_dao_types.h>
+
+#include <dpl/wrt-dao-ro/widget_dao_read_only.h>
class InstallerContext;
namespace Jobs {
namespace WidgetInstall {
-class TaskDatabase:
+class TaskDatabase :
public DPL::TaskDecl<TaskDatabase>
{
private:
InstallerContext& m_context;
+ WrtDB::ExternalLocationList m_externalLocationsToRemove;
+
+ //TODO: temporary needed until security-server start to use pkgName instead
+ //of widget handle
+ WrtDB::DbWidgetHandle m_handleToRemove;
+ WrtDB::DbWidgetHandle m_handle;
- void StepDBInsert();
+ void StepRegisterExternalFiles();
+ void StepWrtDBInsert();
+ void StepAceDBInsert();
+ void StepSecurityOriginDBInsert();
+ void StepRemoveExternalFiles();
+ void StepCreateVconf();
+ void StepLiveboxDBInsert();
void StepAbortDBInsert();