60eb11b79f19a6a5a7811a2798ebf2756213ecd6
[platform/core/appfw/app-installers.git] / src / common / step / filesystem / step_remove_icons.h
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.
4
5 #ifndef COMMON_STEP_FILESYSTEM_STEP_REMOVE_ICONS_H_
6 #define COMMON_STEP_FILESYSTEM_STEP_REMOVE_ICONS_H_
7
8 #include <boost/filesystem/path.hpp>
9
10 #include <manifest_parser/utils/logging.h>
11
12 #include <utility>
13 #include <vector>
14
15 #include "common/installer_context.h"
16 #include "common/step/step.h"
17
18 namespace common_installer {
19 namespace filesystem {
20
21 class StepRemoveIcons : public Step {
22  public:
23   using Step::Step;
24
25   Status process() override;
26   Status clean() override { return Status::OK; }
27   Status undo() override { return Status::OK; }
28   Status precheck() override;
29
30   STEP_NAME(RemoveIcons)
31 };
32
33 }  // namespace filesystem
34 }  // namespace common_installer
35
36 #endif  // COMMON_STEP_FILESYSTEM_STEP_REMOVE_ICONS_H_