[SHELLEXT][ZIPFLDR] Implement ZIP creation (#2114)
[reactos.git] / dll / shellext / zipfldr / precomp.h
index 01b9299..ed61dc7 100644 (file)
@@ -37,10 +37,11 @@ EXTERN_C const GUID CLSID_ZipFolderExtractAllCommand;
 extern LONG g_ModuleRefCnt;
 
 
-#define Win32DbgPrint(file, line, warn, func)   DbgPrint("(%s:%d) " warn, file, line, func)
 WCHAR* guid2string(REFCLSID iid);
 
 
+#define MINIZIP_PASSWORD_FLAG   1
+
 #include "minizip/unzip.h"
 #include "minizip/ioapi.h"
 
@@ -56,7 +57,28 @@ HRESULT _CExplorerCommandProvider_CreateInstance(IContextMenu* zipObject, REFIID
 HRESULT _CFolderViewCB_CreateInstance(REFIID riid, LPVOID * ppvOut);
 void _CZipExtract_runWizard(PCWSTR Filename);
 
+enum eZipPasswordResponse
+{
+    eAbort,
+    eSkip,
+    eAccept,
+};
+
+eZipPasswordResponse _CZipAskPassword(HWND hDlg, const char* filename, CStringA& Password);
+
+enum eZipConfirmResponse
+{
+    eYes,
+    eYesToAll,
+    eNo,
+    eCancel
+};
+
+eZipConfirmResponse _CZipAskReplace(HWND hDlg, const char* FullPath);
+
 #include "CZipEnumerator.hpp"
 #include "CZipFolder.hpp"
+#include "CZipCreater.hpp"
+#include "CSendToZip.hpp"
 
 #endif /* ZIPFLDR_PRECOMP_H */