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