File: UpdateProduce.h

package info (click to toggle)
libphysfs 2.0.2-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,480 kB
  • sloc: cpp: 30,946; ansic: 27,446; cs: 4,374; java: 3,077; makefile: 798; ruby: 461; perl: 59; sh: 8
file content (31 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// UpdateProduce.h

#ifndef __UPDATE_PRODUCE_H
#define __UPDATE_PRODUCE_H

#include "UpdatePair.h"

struct CUpdatePair2
{
  // bool OperationIsCompress;
  bool NewData;
  bool NewProperties;

  bool ExistInArchive;
  bool ExistOnDisk;
  bool IsAnti;
  int ArchiveItemIndex;
  int DirItemIndex;

  bool NewNameIsDefined;
  UString NewName;

  CUpdatePair2(): NewNameIsDefined(false) {}
};

void UpdateProduce(
    const CObjectVector<CUpdatePair> &updatePairs,
    const NUpdateArchive::CActionSet &actionSet,
    CObjectVector<CUpdatePair2> &operationChain);

#endif