UpdatePair.h revision baa3858d3f5d128a5c8466b700098109edcad5f2
1// UpdatePair.h
2
3#ifndef __UPDATE_PAIR_H
4#define __UPDATE_PAIR_H
5
6#include "DirItem.h"
7#include "UpdateAction.h"
8
9#include "../../Archive/IArchive.h"
10
11struct CUpdatePair
12{
13  NUpdateArchive::NPairState::EEnum State;
14  int ArcIndex;
15  int DirIndex;
16  CUpdatePair(): ArcIndex(-1), DirIndex(-1) {}
17};
18
19void GetUpdatePairInfoList(
20    const CDirItems &dirItems,
21    const CObjectVector<CArcItem> &arcItems,
22    NFileTimeType::EEnum fileTimeType,
23    CRecordVector<CUpdatePair> &updatePairs);
24
25#endif
26