[Release] wrt-installer_0.1.114
[framework/web/wrt-installer.git] / src / jobs / widget_install / task_file_manipulation.h
index 429b0fb..24f5cf3 100644 (file)
@@ -23,6 +23,7 @@
 #define INSTALLER_CORE_JOS_WIDGET_INSTALL_TASK_FILE_MANIPULATION_UPDATE_H
 
 #include <dpl/task.h>
+#include <app2ext_interface.h>
 
 class InstallerContext;
 
@@ -31,14 +32,26 @@ namespace WidgetInstall {
 class TaskFileManipulation :
     public DPL::TaskDecl<TaskFileManipulation>
 {
-  private:
     InstallerContext& m_context;
+    app2ext_handle *m_extHandle;
 
+    // install internal location
     void StepCreateDirs();
     void StepRenamePath();
     void StepCreatePrivateStorageDir();
+    void StepCreateSharedFolder();
 
     void StepAbortRenamePath();
+    void StepLinkForPreload();
+
+    // install external location
+    void StepPrepareExternalDir();
+    void StepInstallToExternal();
+    void StepFinishExternalInstallation();
+    void StepAbortCreateExternalDir();
+
+    void StartStep();
+    void EndStep();
 
   public:
     TaskFileManipulation(InstallerContext& context);