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