OSDN Git Service

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