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 11 struct CUpdatePair 12 { 13 NUpdateArchive::NPairState::EEnum State; 14 int ArcIndex; 15 int DirIndex; 16 int HostIndex; // >= 0 for alt streams only, contains index of host pair 17 CUpdatePairCUpdatePair18 CUpdatePair(): ArcIndex(-1), DirIndex(-1), HostIndex(-1) {} 19 }; 20 21 void GetUpdatePairInfoList( 22 const CDirItems &dirItems, 23 const CObjectVector<CArcItem> &arcItems, 24 NFileTimeType::EEnum fileTimeType, 25 CRecordVector<CUpdatePair> &updatePairs); 26 27 #endif 28