X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fraw_image_proxy.h;h=7e08611041d45ee307fbfdc65bc49e200d71df79;hb=9bfa07293928c371d59db2091ba2b7e715ce5994;hp=dcd107a9ebc4f9255c226228681d25a41bcc029c;hpb=e5b744922fb6aed65ec13f22a9de0c86dd1bd561;p=dcpomatic.git diff --git a/src/lib/raw_image_proxy.h b/src/lib/raw_image_proxy.h index dcd107a9e..7e0861104 100644 --- a/src/lib/raw_image_proxy.h +++ b/src/lib/raw_image_proxy.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2015 Carl Hetherington + Copyright (C) 2014-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,28 +18,33 @@ */ + #ifndef DCPOMATIC_RAW_IMAGE_PROXY_H #define DCPOMATIC_RAW_IMAGE_PROXY_H + #include "image_proxy.h" + class RawImageProxy : public ImageProxy { public: - explicit RawImageProxy (boost::shared_ptr); - RawImageProxy (boost::shared_ptr xml, boost::shared_ptr socket); + explicit RawImageProxy (std::shared_ptr); + RawImageProxy (std::shared_ptr xml, std::shared_ptr socket); - std::pair, int> image ( + Result image ( + bool aligned, boost::optional size = boost::optional () ) const; void add_metadata (xmlpp::Node *) const; - void send_binary (boost::shared_ptr) const; - bool same (boost::shared_ptr) const; + void write_to_socket (std::shared_ptr) const; + bool same (std::shared_ptr) const; size_t memory_used () const; private: - boost::shared_ptr _image; + std::shared_ptr _image; }; + #endif