xref: /aosp_15_r20/external/lzma/CPP/7zip/UI/Common/CompressCall.h (revision f6dc9357d832569d4d1f5d24eacdb3935a1ae8e6)
1*f6dc9357SAndroid Build Coastguard Worker // CompressCall.h
2*f6dc9357SAndroid Build Coastguard Worker 
3*f6dc9357SAndroid Build Coastguard Worker #ifndef ZIP7_INC_COMPRESS_CALL_H
4*f6dc9357SAndroid Build Coastguard Worker #define ZIP7_INC_COMPRESS_CALL_H
5*f6dc9357SAndroid Build Coastguard Worker 
6*f6dc9357SAndroid Build Coastguard Worker #include "../../../Common/MyString.h"
7*f6dc9357SAndroid Build Coastguard Worker 
8*f6dc9357SAndroid Build Coastguard Worker UString GetQuotedString(const UString &s);
9*f6dc9357SAndroid Build Coastguard Worker 
10*f6dc9357SAndroid Build Coastguard Worker HRESULT CompressFiles(
11*f6dc9357SAndroid Build Coastguard Worker     const UString &arcPathPrefix,
12*f6dc9357SAndroid Build Coastguard Worker     const UString &arcName,
13*f6dc9357SAndroid Build Coastguard Worker     const UString &arcType,
14*f6dc9357SAndroid Build Coastguard Worker     bool addExtension,
15*f6dc9357SAndroid Build Coastguard Worker     const UStringVector &names,
16*f6dc9357SAndroid Build Coastguard Worker     bool email, bool showDialog, bool waitFinish);
17*f6dc9357SAndroid Build Coastguard Worker 
18*f6dc9357SAndroid Build Coastguard Worker void ExtractArchives(const UStringVector &arcPaths, const UString &outFolder, bool showDialog, bool elimDup, UInt32 writeZone);
19*f6dc9357SAndroid Build Coastguard Worker void TestArchives(const UStringVector &arcPaths, bool hashMode = false);
20*f6dc9357SAndroid Build Coastguard Worker 
21*f6dc9357SAndroid Build Coastguard Worker void CalcChecksum(const UStringVector &paths,
22*f6dc9357SAndroid Build Coastguard Worker     const UString &methodName,
23*f6dc9357SAndroid Build Coastguard Worker     const UString &arcPathPrefix,
24*f6dc9357SAndroid Build Coastguard Worker     const UString &arcFileName);
25*f6dc9357SAndroid Build Coastguard Worker 
26*f6dc9357SAndroid Build Coastguard Worker void Benchmark(bool totalMode);
27*f6dc9357SAndroid Build Coastguard Worker 
28*f6dc9357SAndroid Build Coastguard Worker #endif
29