1 /* 2 * PROJECT: ReactOS Zip Shell Extension 3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+) 4 * PURPOSE: Create a zip file 5 * COPYRIGHT: Copyright 2019 Mark Jansen (mark.jansen@reactos.org) 6 * Copyright 2019 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com) 7 */ 8 #ifndef CZIPCREATOR_HPP_ 9 #define CZIPCREATOR_HPP_ 10 11 struct CZipCreatorImpl; 12 13 class CZipCreator 14 { 15 public: 16 struct CZipCreatorImpl *m_pimpl; 17 18 virtual ~CZipCreator(); 19 20 static CZipCreator* DoCreate() 21 { 22 return new CZipCreator(); 23 } 24 25 virtual void DoAddItem(PCWSTR pszFile); 26 static BOOL runThread(CZipCreator* pCreator); 27 28 protected: 29 CZipCreator(); 30 }; 31 32 #endif 33