reactos/dll/shellext/zipfldr/CZipCreator.hpp
Katayama Hirofumi MZ bf2cec186c
[ZIPFLDR] Support UTF-8 Zip extraction (#5411)
- Extend some Ansi strings to Wide strings.
- Check the UTF-8 flag (1 << 11). If UTF-8, then use CP_UTF8.
- s/LPCWSTR/PCWSTR/.
- s/LPWSTR/PWSTR/.
CORE-16668
2023-07-17 20:12:45 +09:00

32 lines
690 B
C++

/*
* PROJECT: ReactOS Zip Shell Extension
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
* PURPOSE: Create a zip file
* COPYRIGHT: Copyright 2019 Mark Jansen (mark.jansen@reactos.org)
* Copyright 2019 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com)
*/
#ifndef CZIPCREATOR_HPP_
#define CZIPCREATOR_HPP_
struct CZipCreatorImpl;
class CZipCreator
{
public:
struct CZipCreatorImpl *m_pimpl;
virtual ~CZipCreator();
static CZipCreator* DoCreate()
{
return new CZipCreator();
}
virtual void DoAddItem(PCWSTR pszFile);
static BOOL runThread(CZipCreator* pCreator);
protected:
CZipCreator();
};
#endif