mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
bf2cec186c
- 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
32 lines
690 B
C++
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
|