Merge "Update deprecated libprivilege-control API functions." into tizen
[platform/framework/native/appfw.git] / src / base / utility / FBaseUtil_ZipEntryInfo.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file                FBaseUtil_ZipEntryInfo.h
19  * @brief               This is the header file for _ZipEntryInfo.
20  */
21
22 #ifndef _FBASE_UTIL_ZIP_ENTRY_INFO_H_
23 #define _FBASE_UTIL_ZIP_ENTRY_INFO_H_
24
25 #include <unzip.h>
26 #include <FBaseUtilTypes.h>
27 #include <FBaseString.h>
28
29 namespace Tizen { namespace Base { namespace Utility
30 {
31
32 class _ZipEntryInfo
33 {
34
35 public:
36         ~_ZipEntryInfo(void)
37         {
38         }
39
40 private:
41         _ZipEntryInfo(void)
42                 : __unzFile(null)
43                 , __compressionLevel(DEFAULT_COMPRESSION)
44                 , __isDirectory(false)
45                 , __compressedSize(0)
46                 , __uncompressedSize(0)
47                 , __method(0)
48         {
49         }
50
51 public:
52         unzFile __unzFile;
53         String __name;
54         CompressionLevel __compressionLevel;
55         bool __isDirectory;
56         int __compressedSize;
57         int __uncompressedSize;
58         String __archiveName;
59         int __method;
60
61 private:
62         friend class _FileUnzipperImpl;
63
64 }; // _ZipEntryInfo
65 }}} // Tizen::Base::Utility
66 #endif // _FBASE_UTIL_ZIP_ENTRY_INFO_H_