[Release] wrt-installer_0.0.89
[framework/web/wrt-installer.git] / src / jobs / widget_install / task_database.h
index ce01985..f2098bc 100644 (file)
@@ -24,6 +24,9 @@
 #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;
 
@@ -34,9 +37,18 @@ class 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 StepRemoveExternalFiles();
+    void StepCreateVconf();
 
     void StepAbortDBInsert();