comparison Core/Images/PngReader.h @ 2861:9b4251721f22

ImageAccessor now non-copyable
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Oct 2018 17:46:02 +0200
parents 878b59270859
children 4e43e67f8ecf
comparison
equal deleted inserted replaced
2857:482631e4e290 2861:9b4251721f22
46 #include "../Enumerations.h" 46 #include "../Enumerations.h"
47 47
48 #include <vector> 48 #include <vector>
49 #include <stdint.h> 49 #include <stdint.h>
50 #include <boost/shared_ptr.hpp> 50 #include <boost/shared_ptr.hpp>
51 #include <boost/noncopyable.hpp>
52 51
53 #if !defined(ORTHANC_SANDBOXED) 52 #if !defined(ORTHANC_SANDBOXED)
54 # error The macro ORTHANC_SANDBOXED must be defined 53 # error The macro ORTHANC_SANDBOXED must be defined
55 #endif 54 #endif
56 55
57 namespace Orthanc 56 namespace Orthanc
58 { 57 {
59 class PngReader : 58 class PngReader : public ImageAccessor
60 public ImageAccessor,
61 public boost::noncopyable
62 { 59 {
63 private: 60 private:
64 struct PngRabi; 61 struct PngRabi;
65 62
66 std::vector<uint8_t> data_; 63 std::vector<uint8_t> data_;