| 1 | /***************************************************************************** |
| 2 | ** QNapi |
| 3 | ** Copyright (C) 2008-2017 Piotr KrzemiĆski <[email protected]> |
| 4 | ** |
| 5 | ** This program is free software; you can redistribute it and/or modify |
| 6 | ** it under the terms of the GNU General Public License as published by |
| 7 | ** the Free Software Foundation; either version 2 of the License, or |
| 8 | ** (at your option) any later version. |
| 9 | ** |
| 10 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
| 11 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 12 | ** |
| 13 | *****************************************************************************/ |
| 14 | |
| 15 | #ifndef P7ZIPDECODER_H |
| 16 | #define P7ZIPDECODER_Hcxx . . $ `libqnapi/src/utils/p7zipdecoder.h:16:9`! |
| 17 | |
| 18 | #include <QString> |
| 19 | #include <QStringList> |
| 20 | |
| 21 | class P7ZipDecodercxx . . $ P7ZipDecoder# { |
| 22 | public: |
| 23 | P7ZipDecodercxx . . $ P7ZipDecoder#P7ZipDecoder(29ed8fcd127906b1).(const QStringcxx . . $ QString#& p7zipPath, int operationTimeoutMsecs = 10000); |
| 24 | |
| 25 | QStringListcxx . . $ QStringList# listArchiveFilescxx . . $ P7ZipDecoder#listArchiveFiles(50afb52245723b61).(const QStringcxx . . $ QString#& archivePath) const; |
| 26 | |
| 27 | bool unpackArchiveFilecxx . . $ P7ZipDecoder#unpackArchiveFile(b62c89774989cffa).(const QStringcxx . . $ QString#& archivePath, const QStringcxx . . $ QString#& filename, |
| 28 | const QStringcxx . . $ QString#& targetPath) const; |
| 29 | bool unpackArchiveFilescxx . . $ P7ZipDecoder#unpackArchiveFiles(90f171d2530d3e23).(const QStringcxx . . $ QString#& archivePath, |
| 30 | const QStringcxx . . $ QString#& targetPath) const; |
| 31 | bool unpackSecureArchiveFilescxx . . $ P7ZipDecoder#unpackSecureArchiveFiles(b62c89774989cffa).(const QStringcxx . . $ QString#& archivePath, |
| 32 | const QStringcxx . . $ QString#& password, |
| 33 | const QStringcxx . . $ QString#& targetPath) const; |
| 34 | |
| 35 | private: |
| 36 | const QStringcxx . . $ QString# p7zipPathcxx . . $ P7ZipDecoder#p7zipPath.; |
| 37 | int operationTimeoutMsecscxx . . $ P7ZipDecoder#operationTimeoutMsecs.; |
| 38 | |
| 39 | bool runP7Zipcxx . . $ P7ZipDecoder#runP7Zip(5f1b03c390062051).(const QStringListcxx . . $ QStringList#& args) const; |
| 40 | QStringcxx . . $ QString# readP7ZipOutputcxx . . $ P7ZipDecoder#readP7ZipOutput(ea5597cae5d7a1b8).(const QStringListcxx . . $ QStringList#& args) const; |
| 41 | }; |
| 42 | |
| 43 | #endif // P7ZIPDECODER_H |