OLD | NEW |
| (Empty) |
1 // EnumDirItems.h | |
2 | |
3 #ifndef __ENUM_DIR_ITEMS_H | |
4 #define __ENUM_DIR_ITEMS_H | |
5 | |
6 #include "Common/Wildcard.h" | |
7 #include "Windows/FileFind.h" | |
8 #include "DirItem.h" | |
9 | |
10 void AddDirFileInfo(int phyParent, int logParent, | |
11 const NWindows::NFile::NFind::CFileInfoW &fi, CObjectVector<CDirItem> &dirIt
ems); | |
12 | |
13 struct IEnumDirItemCallback | |
14 { | |
15 virtual HRESULT ScanProgress(UInt64 numFolders, UInt64 numFiles, const wchar_t
*path) = 0; | |
16 }; | |
17 | |
18 HRESULT EnumerateItems( | |
19 const NWildcard::CCensor &censor, | |
20 CDirItems &dirItems, | |
21 IEnumDirItemCallback *callback, | |
22 UStringVector &errorPaths, | |
23 CRecordVector<DWORD> &errorCodes); | |
24 | |
25 #endif | |
OLD | NEW |