MCPcopy Create free account
hub / github.com/QNapi/qnapi / P7ZipDecoder

Class P7ZipDecoder

libqnapi/src/utils/p7zipdecoder.h:21–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include <QStringList>
20
21class P7ZipDecoder {
22 public:
23 P7ZipDecoder(const QString& p7zipPath, int operationTimeoutMsecs = 10000);
24
25 QStringList listArchiveFiles(const QString& archivePath) const;
26
27 bool unpackArchiveFile(const QString& archivePath, const QString& filename,
28 const QString& targetPath) const;
29 bool unpackArchiveFiles(const QString& archivePath,
30 const QString& targetPath) const;
31 bool unpackSecureArchiveFiles(const QString& archivePath,
32 const QString& password,
33 const QString& targetPath) const;
34
35 private:
36 const QString p7zipPath;
37 int operationTimeoutMsecs;
38
39 bool runP7Zip(const QStringList& args) const;
40 QString readP7ZipOutput(const QStringList& args) const;
41};
42
43#endif // P7ZIPDECODER_H

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected