Home | History | Annotate | Download | only in Common
      1 // UpdateAction.cpp
      2 
      3 #include "StdAfx.h"
      4 
      5 #include "UpdateAction.h"
      6 
      7 namespace NUpdateArchive {
      8 
      9 const CActionSet k_ActionSet_Add =
     10 {{
     11   NPairAction::kCopy,
     12   NPairAction::kCopy,
     13   NPairAction::kCompress,
     14   NPairAction::kCompress,
     15   NPairAction::kCompress,
     16   NPairAction::kCompress,
     17   NPairAction::kCompress
     18 }};
     19 
     20 const CActionSet k_ActionSet_Update =
     21 {{
     22   NPairAction::kCopy,
     23   NPairAction::kCopy,
     24   NPairAction::kCompress,
     25   NPairAction::kCopy,
     26   NPairAction::kCompress,
     27   NPairAction::kCopy,
     28   NPairAction::kCompress
     29 }};
     30 
     31 const CActionSet k_ActionSet_Fresh =
     32 {{
     33   NPairAction::kCopy,
     34   NPairAction::kCopy,
     35   NPairAction::kIgnore,
     36   NPairAction::kCopy,
     37   NPairAction::kCompress,
     38   NPairAction::kCopy,
     39   NPairAction::kCompress
     40 }};
     41 
     42 const CActionSet k_ActionSet_Sync =
     43 {{
     44   NPairAction::kCopy,
     45   NPairAction::kIgnore,
     46   NPairAction::kCompress,
     47   NPairAction::kCopy,
     48   NPairAction::kCompress,
     49   NPairAction::kCopy,
     50   NPairAction::kCompress,
     51 }};
     52 
     53 const CActionSet k_ActionSet_Delete =
     54 {{
     55   NPairAction::kCopy,
     56   NPairAction::kIgnore,
     57   NPairAction::kIgnore,
     58   NPairAction::kIgnore,
     59   NPairAction::kIgnore,
     60   NPairAction::kIgnore,
     61   NPairAction::kIgnore
     62 }};
     63 
     64 }
     65