ImagingTools Core SDK
IFileCompression.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ACF includes
6#include <istd/IPolymorphic.h>
7
8
9namespace imtfile
10{
11
12
13class IFileCompression: virtual public istd::IPolymorphic
14{
15public:
19 virtual bool CompressFile(const QString& sourceFilePath, const QString& targetFilePath) const = 0;
20
24 virtual bool DecompressFile(const QString& sourceFilePath, const QString& targetFilePath) const = 0;
25
29 virtual bool CompressFolder(const QString& sourceFolderPath, const QString& targetFilePath, bool isRecursive) const = 0;
30
34 virtual bool DecompressFolder(const QString& sourceFilePath, const QString& targetFolderPath) const = 0;
35};
36
37
38} // namespace imtfile
39
40
File I/O Operations and Management Module.