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 <boost/filesystem/path.hpp>
10 #include <manifest_parser/utils/logging.h>
16 #include "common/installer_context.h"
17 #include "common/step/step.h"
19 namespace common_installer {
20 namespace filesystem {
23 * \brief Step responsible for creating icons for applications used during
24 * installation and update. Used by WGT and TPK backend
26 class StepCreateIcons : public Step {
31 * \brief main logic for creating icons
33 * \return Status::OK if success, Status::ERROR otherwise
35 Status process() override;
36 Status clean() override { return Status::OK; }
38 * \brief removes icons from system
42 Status undo() override;
43 Status precheck() override { return Status::OK; }
46 std::vector<boost::filesystem::path> icons_;
48 STEP_NAME(CreateIcons)
51 } // namespace filesystem
52 } // namespace common_installer
54 #endif // COMMON_STEP_FILESYSTEM_STEP_CREATE_ICONS_H_