Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / step / filesystem / step_update_tep.h
1 // Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by a apache 2.0 license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMMON_STEP_FILESYSTEM_STEP_UPDATE_TEP_H_
6 #define COMMON_STEP_FILESYSTEM_STEP_UPDATE_TEP_H_
7
8 #include <manifest_parser/utils/logging.h>
9
10 #include "common/installer_context.h"
11 #include "common/step/filesystem/step_copy_tep.h"
12
13
14 namespace common_installer {
15 namespace filesystem {
16
17 /**
18  * \brief step responsible for moving/copying TEP files from designated path to
19  *        final installed package destination during UPDATE.
20  *        Used by WGT and TPK
21  */
22 class StepUpdateTep : public StepCopyTep {
23  public:
24   using StepCopyTep::StepCopyTep;
25
26   Status precheck() override;
27   Status process() override;
28   Status clean() override;
29   Status undo() override;
30
31   STEP_NAME(UpdateTep)
32 };
33
34 }  // namespace filesystem
35 }  // namespace common_installer
36
37 #endif  // COMMON_STEP_FILESYSTEM_STEP_UPDATE_TEP_H_