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 COMMON_STEP_FILESYSTEM_STEP_CREATE_ICONS_H_
6 #define COMMON_STEP_FILESYSTEM_STEP_CREATE_ICONS_H_
8 #include <manifest_parser/utils/logging.h>
15 #include "common/installer_context.h"
16 #include "common/step/step.h"
18 namespace common_installer {
19 namespace filesystem {
22 * \brief Step responsible for creating icons for applications used during
23 * installation and update. Used by WGT and TPK backend
25 class StepCreateIcons : public Step {
30 * \brief main logic for creating icons
32 * \return Status::OK if success, Status::ERROR otherwise
34 Status process() override;
35 Status clean() override { return Status::OK; }
37 * \brief removes icons from system
41 Status undo() override;
42 Status precheck() override { return Status::OK; }
45 std::vector<std::filesystem::path> icons_;
47 STEP_NAME(CreateIcons)
50 } // namespace filesystem
51 } // namespace common_installer
53 #endif // COMMON_STEP_FILESYSTEM_STEP_CREATE_ICONS_H_