1baa3858d3f5d128a5c8466b700098109edcad5f2repo sync// UpdatePair.h
2baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
3baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifndef __UPDATE_PAIR_H
4baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define __UPDATE_PAIR_H
5baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
6baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#include "DirItem.h"
7baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#include "UpdateAction.h"
8baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
9baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#include "../../Archive/IArchive.h"
10baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
11baa3858d3f5d128a5c8466b700098109edcad5f2repo syncstruct CUpdatePair
12baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{
13baa3858d3f5d128a5c8466b700098109edcad5f2repo sync  NUpdateArchive::NPairState::EEnum State;
14baa3858d3f5d128a5c8466b700098109edcad5f2repo sync  int ArcIndex;
15baa3858d3f5d128a5c8466b700098109edcad5f2repo sync  int DirIndex;
16cd66d540cead3f8200b0c73bad9c276d67896c3dDavid Srbecky  int HostIndex; // >= 0 for alt streams only, contains index of host pair
17cd66d540cead3f8200b0c73bad9c276d67896c3dDavid Srbecky
18cd66d540cead3f8200b0c73bad9c276d67896c3dDavid Srbecky  CUpdatePair(): ArcIndex(-1), DirIndex(-1), HostIndex(-1) {}
19baa3858d3f5d128a5c8466b700098109edcad5f2repo sync};
20baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
21baa3858d3f5d128a5c8466b700098109edcad5f2repo syncvoid GetUpdatePairInfoList(
22baa3858d3f5d128a5c8466b700098109edcad5f2repo sync    const CDirItems &dirItems,
23baa3858d3f5d128a5c8466b700098109edcad5f2repo sync    const CObjectVector<CArcItem> &arcItems,
24baa3858d3f5d128a5c8466b700098109edcad5f2repo sync    NFileTimeType::EEnum fileTimeType,
25baa3858d3f5d128a5c8466b700098109edcad5f2repo sync    CRecordVector<CUpdatePair> &updatePairs);
26baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
27baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif
28