2019-12-01 12:20:53 +00:00
|
|
|
/*
|
|
|
|
* 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)
|
|
|
|
*/
|
2019-12-01 17:26:34 +00:00
|
|
|
#ifndef CZIPCREATOR_HPP_
|
|
|
|
#define CZIPCREATOR_HPP_
|
2019-12-01 12:20:53 +00:00
|
|
|
|
|
|
|
struct CZipCreatorImpl;
|
|
|
|
|
|
|
|
class CZipCreator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
struct CZipCreatorImpl *m_pimpl;
|
|
|
|
|
|
|
|
virtual ~CZipCreator();
|
|
|
|
|
|
|
|
static CZipCreator* DoCreate()
|
|
|
|
{
|
|
|
|
return new CZipCreator();
|
|
|
|
}
|
|
|
|
|
2023-07-17 11:12:45 +00:00
|
|
|
virtual void DoAddItem(PCWSTR pszFile);
|
2019-12-01 17:26:34 +00:00
|
|
|
static BOOL runThread(CZipCreator* pCreator);
|
2019-12-01 12:20:53 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
CZipCreator();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|