xref: /aosp_15_r20/external/lzma/CPP/7zip/UI/Common/EnumDirItems.h (revision f6dc9357d832569d4d1f5d24eacdb3935a1ae8e6)
1 // EnumDirItems.h
2 
3 #ifndef ZIP7_INC_ENUM_DIR_ITEMS_H
4 #define ZIP7_INC_ENUM_DIR_ITEMS_H
5 
6 #include "../../../Common/Wildcard.h"
7 
8 #include "DirItem.h"
9 
10 
11 HRESULT EnumerateItems(
12     const NWildcard::CCensor &censor,
13     NWildcard::ECensorPathMode pathMode,
14     const UString &addPathPrefix,
15     CDirItems &dirItems);
16 
17 
18 struct CMessagePathException: public UString
19 {
20   CMessagePathException(const char *a, const wchar_t *u = NULL);
21   CMessagePathException(const wchar_t *a, const wchar_t *u = NULL);
22 };
23 
24 
25 HRESULT EnumerateDirItemsAndSort(
26     NWildcard::CCensor &censor,
27     NWildcard::ECensorPathMode pathMode,
28     const UString &addPathPrefix,
29     UStringVector &sortedPaths,
30     UStringVector &sortedFullPaths,
31     CDirItemsStat &st,
32     IDirItemsCallback *callback);
33 
34 #ifdef _WIN32
35 void ConvertToLongNames(NWildcard::CCensor &censor);
36 #endif
37 
38 #endif
39