Mercurial > hg > orthanc
comparison Core/Compression/HierarchicalZipWriter.h @ 249:5694365ecb96
fixes for windows
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 05 Dec 2012 09:28:06 +0100 |
parents | c9b3ba0fd140 |
children | 9cd240cfd3a6 |
comparison
equal
deleted
inserted
replaced
248:2442033911d6 | 249:5694365ecb96 |
---|---|
73 bool IsRoot() const | 73 bool IsRoot() const |
74 { | 74 { |
75 return stack_.size() == 1; | 75 return stack_.size() == 1; |
76 } | 76 } |
77 | 77 |
78 std::string CreateFile(const char* name); | 78 std::string OpenFile(const char* name); |
79 | 79 |
80 void CreateDirectory(const char* name); | 80 void OpenDirectory(const char* name); |
81 | 81 |
82 void CloseDirectory(); | 82 void CloseDirectory(); |
83 | 83 |
84 static std::string KeepAlphanumeric(const std::string& source); | 84 static std::string KeepAlphanumeric(const std::string& source); |
85 }; | 85 }; |
100 uint8_t GetCompressionLevel() const | 100 uint8_t GetCompressionLevel() const |
101 { | 101 { |
102 return writer_.GetCompressionLevel(); | 102 return writer_.GetCompressionLevel(); |
103 } | 103 } |
104 | 104 |
105 void CreateFile(const char* name); | 105 void OpenFile(const char* name); |
106 | 106 |
107 void CreateDirectory(const char* name); | 107 void OpenDirectory(const char* name); |
108 | 108 |
109 void CloseDirectory(); | 109 void CloseDirectory(); |
110 | 110 |
111 void Write(const char* data, size_t length) | 111 void Write(const char* data, size_t length) |
112 { | 112 { |