Success build TortoiseMerge.
[TortoiseGit.git] / src / TortoiseMerge / libsvn_diff / zlibcpp.h
blob9d753c448a4ece10cf4bd5c74a1745e464824b40
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 // Module: zlibcpp.h
4 //
5 // Desc: Basic class wrapper for the zlib dll
6 //
7 // Copyright (c) 2003 Automatic Data Processing, Inc. All Rights Reserved.
8 //
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _ZLIBCPP_H_
12 #define _ZLIBCPP_H_
14 #if _MSC_VER >= 1000
15 #pragma once
16 #endif // _MSC_VER >= 1000
18 #ifndef _WINDOWS
19 #define _WINDOWS
20 #endif // !_WINDOWS
22 #ifndef _zip_H
23 #include "zip.h"
24 #endif // _zip_H
26 class CZLib
28 public:
29 CZLib();
30 virtual ~CZLib();
32 BOOL Open(string f_file, int f_nAppend = 0);
33 BOOL AddFile(string f_file);
34 void Close();
35 protected:
36 zipFile m_zf;
39 #endif // !_ZLIBCPP_H