1370b324cSopenharmony_ci// UpdateAction.cpp 2370b324cSopenharmony_ci 3370b324cSopenharmony_ci#include "StdAfx.h" 4370b324cSopenharmony_ci 5370b324cSopenharmony_ci#include "UpdateAction.h" 6370b324cSopenharmony_ci 7370b324cSopenharmony_cinamespace NUpdateArchive { 8370b324cSopenharmony_ci 9370b324cSopenharmony_ciconst CActionSet k_ActionSet_Add = 10370b324cSopenharmony_ci{{ 11370b324cSopenharmony_ci NPairAction::kCopy, 12370b324cSopenharmony_ci NPairAction::kCopy, 13370b324cSopenharmony_ci NPairAction::kCompress, 14370b324cSopenharmony_ci NPairAction::kCompress, 15370b324cSopenharmony_ci NPairAction::kCompress, 16370b324cSopenharmony_ci NPairAction::kCompress, 17370b324cSopenharmony_ci NPairAction::kCompress 18370b324cSopenharmony_ci}}; 19370b324cSopenharmony_ci 20370b324cSopenharmony_ciconst CActionSet k_ActionSet_Update = 21370b324cSopenharmony_ci{{ 22370b324cSopenharmony_ci NPairAction::kCopy, 23370b324cSopenharmony_ci NPairAction::kCopy, 24370b324cSopenharmony_ci NPairAction::kCompress, 25370b324cSopenharmony_ci NPairAction::kCopy, 26370b324cSopenharmony_ci NPairAction::kCompress, 27370b324cSopenharmony_ci NPairAction::kCopy, 28370b324cSopenharmony_ci NPairAction::kCompress 29370b324cSopenharmony_ci}}; 30370b324cSopenharmony_ci 31370b324cSopenharmony_ciconst CActionSet k_ActionSet_Fresh = 32370b324cSopenharmony_ci{{ 33370b324cSopenharmony_ci NPairAction::kCopy, 34370b324cSopenharmony_ci NPairAction::kCopy, 35370b324cSopenharmony_ci NPairAction::kIgnore, 36370b324cSopenharmony_ci NPairAction::kCopy, 37370b324cSopenharmony_ci NPairAction::kCompress, 38370b324cSopenharmony_ci NPairAction::kCopy, 39370b324cSopenharmony_ci NPairAction::kCompress 40370b324cSopenharmony_ci}}; 41370b324cSopenharmony_ci 42370b324cSopenharmony_ciconst CActionSet k_ActionSet_Sync = 43370b324cSopenharmony_ci{{ 44370b324cSopenharmony_ci NPairAction::kCopy, 45370b324cSopenharmony_ci NPairAction::kIgnore, 46370b324cSopenharmony_ci NPairAction::kCompress, 47370b324cSopenharmony_ci NPairAction::kCopy, 48370b324cSopenharmony_ci NPairAction::kCompress, 49370b324cSopenharmony_ci NPairAction::kCopy, 50370b324cSopenharmony_ci NPairAction::kCompress, 51370b324cSopenharmony_ci}}; 52370b324cSopenharmony_ci 53370b324cSopenharmony_ciconst CActionSet k_ActionSet_Delete = 54370b324cSopenharmony_ci{{ 55370b324cSopenharmony_ci NPairAction::kCopy, 56370b324cSopenharmony_ci NPairAction::kIgnore, 57370b324cSopenharmony_ci NPairAction::kIgnore, 58370b324cSopenharmony_ci NPairAction::kIgnore, 59370b324cSopenharmony_ci NPairAction::kIgnore, 60370b324cSopenharmony_ci NPairAction::kIgnore, 61370b324cSopenharmony_ci NPairAction::kIgnore 62370b324cSopenharmony_ci}}; 63370b324cSopenharmony_ci 64370b324cSopenharmony_ci} 65