Upload 2.0.2
[physicsfs] / lzma / CPP / 7zip / UI / Common / UpdateProduce.h
1 // UpdateProduce.h
2
3 #ifndef __UPDATE_PRODUCE_H
4 #define __UPDATE_PRODUCE_H
5
6 #include "UpdatePair.h"
7
8 struct CUpdatePair2
9 {
10   // bool OperationIsCompress;
11   bool NewData;
12   bool NewProperties;
13
14   bool ExistInArchive;
15   bool ExistOnDisk;
16   bool IsAnti;
17   int ArchiveItemIndex;
18   int DirItemIndex;
19
20   bool NewNameIsDefined;
21   UString NewName;
22
23   CUpdatePair2(): NewNameIsDefined(false) {}
24 };
25
26 void UpdateProduce(
27     const CObjectVector<CUpdatePair> &updatePairs,
28     const NUpdateArchive::CActionSet &actionSet,
29     CObjectVector<CUpdatePair2> &operationChain);
30
31 #endif