Mercurial > hg > orthanc
comparison Core/Compression/ZipWriter.h @ 3992:f9863630ec7f
working on the shared library for Orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Jun 2020 16:07:01 +0200 |
parents | 0b3256c3ee14 |
children |
comparison
equal
deleted
inserted
replaced
3991:5d2348b39392 | 3992:f9863630ec7f |
---|---|
31 **/ | 31 **/ |
32 | 32 |
33 | 33 |
34 #pragma once | 34 #pragma once |
35 | 35 |
36 #include "../OrthancFramework.h" | |
37 | |
36 #if !defined(ORTHANC_ENABLE_ZLIB) | 38 #if !defined(ORTHANC_ENABLE_ZLIB) |
37 # error The macro ORTHANC_ENABLE_ZLIB must be defined | 39 # error The macro ORTHANC_ENABLE_ZLIB must be defined |
38 #endif | 40 #endif |
39 | 41 |
40 #if ORTHANC_ENABLE_ZLIB != 1 | 42 #if ORTHANC_ENABLE_ZLIB != 1 |
42 #endif | 44 #endif |
43 | 45 |
44 | 46 |
45 #include <stdint.h> | 47 #include <stdint.h> |
46 #include <string> | 48 #include <string> |
49 #include <boost/noncopyable.hpp> | |
47 #include <boost/shared_ptr.hpp> | 50 #include <boost/shared_ptr.hpp> |
48 | 51 |
49 namespace Orthanc | 52 namespace Orthanc |
50 { | 53 { |
51 class ZipWriter | 54 class ORTHANC_PUBLIC ZipWriter : public boost::noncopyable |
52 { | 55 { |
53 private: | 56 private: |
54 struct PImpl; | 57 struct PImpl; |
55 boost::shared_ptr<PImpl> pimpl_; | 58 boost::shared_ptr<PImpl> pimpl_; |
56 | 59 |