UpdateProduce.h 567 B

12345678910111213141516171819202122232425262728293031
  1. // UpdateProduce.h
  2. #ifndef __UPDATE_PRODUCE_H
  3. #define __UPDATE_PRODUCE_H
  4. #include "UpdatePair.h"
  5. struct CUpdatePair2
  6. {
  7. // bool OperationIsCompress;
  8. bool NewData;
  9. bool NewProperties;
  10. bool ExistInArchive;
  11. bool ExistOnDisk;
  12. bool IsAnti;
  13. int ArchiveItemIndex;
  14. int DirItemIndex;
  15. bool NewNameIsDefined;
  16. UString NewName;
  17. CUpdatePair2(): NewNameIsDefined(false) {}
  18. };
  19. void UpdateProduce(
  20. const CObjectVector<CUpdatePair> &updatePairs,
  21. const NUpdateArchive::CActionSet &actionSet,
  22. CObjectVector<CUpdatePair2> &operationChain);
  23. #endif