X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fraw_image_proxy.h;h=49459dbcb789c753174fd1fa501c15cf1808cf00;hb=c898fa989be0e0a3e09367ace693fac8c3120ad2;hp=6707f689c4e361895fa11791ac4571ca89e06151;hpb=5e4f001bf32e3cdf65efa34803d70e6c1c00c66b;p=dcpomatic.git diff --git a/src/lib/raw_image_proxy.h b/src/lib/raw_image_proxy.h index 6707f689c..49459dbcb 100644 --- a/src/lib/raw_image_proxy.h +++ b/src/lib/raw_image_proxy.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014 Carl Hetherington + Copyright (C) 2014-2015 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,18 +17,25 @@ */ +#ifndef DCPOMATIC_RAW_IMAGE_PROXY_H +#define DCPOMATIC_RAW_IMAGE_PROXY_H + #include "image_proxy.h" class RawImageProxy : public ImageProxy { public: - RawImageProxy (boost::shared_ptr, boost::shared_ptr log); - RawImageProxy (boost::shared_ptr xml, boost::shared_ptr socket, boost::shared_ptr log); + RawImageProxy (boost::shared_ptr); + RawImageProxy (boost::shared_ptr xml, boost::shared_ptr socket); - boost::shared_ptr image () const; + boost::shared_ptr image (boost::optional note = boost::optional ()) const; void add_metadata (xmlpp::Node *) const; void send_binary (boost::shared_ptr) const; - + bool same (boost::shared_ptr) const; + AVPixelFormat pixel_format () const; + private: boost::shared_ptr _image; }; + +#endif