24#include "AstUtil/CompressorInterface.hpp"
25#include "AstUtil/StringView.hpp"
28#if defined(_WIN32) && !defined(SWIG)
42class AST_UTIL_API CompressorImplShellCOM :
public CompressorInterface
45 static CompressorImplShellCOM& Instance();
47 CompressorImplShellCOM() =
default;
48 virtual ~CompressorImplShellCOM() =
default;
50 virtual errc_t compress(StringView source, StringView target, StringView curdir = {})
const override;
51 virtual bool canCompress(StringView source, StringView target)
const override;
55 static errc_t createEmptyZip(
const std::wstring& path);