1 // Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by an apache 2.0 license that can be
3 // found in the LICENSE file.
5 #ifndef WGT_STEP_FILESYSTEM_STEP_WGT_PATCH_STORAGE_DIRECTORIES_H_
6 #define WGT_STEP_FILESYSTEM_STEP_WGT_PATCH_STORAGE_DIRECTORIES_H_
8 #include <common/step/step.h>
9 #include <manifest_parser/utils/logging.h>
12 namespace filesystem {
15 * \brief Installation (WGT).
16 * Responsible for linking the content of widget's shared/res directory
17 * into package's shared/res directory and vice versa for Tizen widget
18 * with API version >= 3.0
20 class StepWgtPatchStorageDirectories :
21 public common_installer::Step {
25 Status process() override;
26 Status clean() override { return Status::OK; }
27 Status undo() override { return Status::OK; }
28 Status precheck() override { return Status::OK; }
32 bool CreatePrivateTmpDir();
34 STEP_NAME(PatchWgtStorageDirectories)
37 } // namespace filesystem
40 #endif // WGT_STEP_FILESYSTEM_STEP_WGT_PATCH_STORAGE_DIRECTORIES_H_