Add OOM exception handler
[platform/core/appfw/wgt-backend.git] / src / wgt / step / filesystem / step_copy_preview_icons.h
1 // Copyright (c) 2016 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 WGT_STEP_FILESYSTEM_STEP_COPY_PREVIEW_ICONS_H_
6 #define WGT_STEP_FILESYSTEM_STEP_COPY_PREVIEW_ICONS_H_
7
8 #include <manifest_parser/utils/logging.h>
9
10 #include <common/app_installer.h>
11 #include <common/installer_context.h>
12 #include <common/step/step.h>
13
14 namespace wgt {
15 namespace filesystem {
16
17 /**
18  * \brief Step that create copy of preview icons in shared/res/ directory
19  */
20 class StepCopyPreviewIcons : public common_installer::Step {
21  public:
22   using Step::Step;
23
24   Status process() override;
25   Status clean() override { return Status::OK; }
26   Status undo() override { return Status::OK; }
27   Status precheck() override { return Status::OK; }
28
29   STEP_NAME(CopyPreviewIcons)
30 };
31
32 }  // namespace filesystem
33 }  // namespace wgt
34
35 #endif  // WGT_STEP_FILESYSTEM_STEP_COPY_PREVIEW_ICONS_H_