* \brief MergeTpkConfig
* Merges information from tpk manifest into information from widget
* configuration for hybrid package.
- *
- * Expection is the information about native privileges. These are merged in
- * \see StepMergeTpkPrivileges
*/
class StepMergeTpkConfig : public common_installer::Step {
public:
+ enum class MergeType {
+ CONCAT, // Concatenate configurations
+ OVERWRITE // Overwrite one with others
+ };
+
+ explicit StepMergeTpkConfig(common_installer::InstallerContext* context,
+ MergeType type);
+
using Step::Step;
Status process() override;
Status undo() override { return Status::OK; }
Status precheck() override { return Status::OK; }
+ private:
+ MergeType merge_type_;
+
STEP_NAME(MergeTpkConfig)
};