2171d59a96a0c992980877f1d1df306eeb7fe4bc
[platform/core/appfw/wgt-backend.git] / src / hybrid / step / configuration / step_merge_tpk_config.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 HYBRID_STEP_CONFIGURATION_STEP_MERGE_TPK_CONFIG_H_
6 #define HYBRID_STEP_CONFIGURATION_STEP_MERGE_TPK_CONFIG_H_
7
8 #include <common/step/step.h>
9 #include <manifest_parser/utils/logging.h>
10
11 namespace hybrid {
12 namespace configuration {
13
14 /**
15  * \brief MergeTpkConfig
16  *        Merges information from tpk manifest into information from widget
17  *        configuration for hybrid package.
18  */
19 class StepMergeTpkConfig : public common_installer::Step {
20  public:
21   using Step::Step;
22
23   Status process() override;
24   Status clean() override { return Status::OK; }
25   Status undo() override { return Status::OK; }
26   Status precheck() override { return Status::OK; }
27
28   STEP_NAME(MergeTpkConfig)
29 };
30
31 }  // namespace configuration
32 }  // namespace hybrid
33
34 #endif  // HYBRID_STEP_CONFIGURATION_STEP_MERGE_TPK_CONFIG_H_