More libsub tweaks.
[dcpomatic.git] / src / lib / image_proxy.h
index 7ff28e174ec092afdbc832ec6b07fb40c7f47c37..e2d86b8a7ca05a31f3815f183d885c7c5f376730 100644 (file)
  *  @brief ImageProxy and subclasses.
  */
 
-#include <boost/shared_ptr.hpp>
-#include <boost/filesystem.hpp>
 #include <Magick++.h>
 #include <libxml++/libxml++.h>
+#include <boost/shared_ptr.hpp>
+#include <boost/filesystem.hpp>
 
 class Image;
 class Socket;
-class Log;
 
 namespace cxml {
        class Node;
@@ -56,7 +55,6 @@ namespace dcp {
 class ImageProxy : public boost::noncopyable
 {
 public:
-       ImageProxy (boost::shared_ptr<Log> log);
        virtual ~ImageProxy () {}
 
        /** @return Image (which must be aligned) */
@@ -67,11 +65,8 @@ public:
        virtual bool same (boost::shared_ptr<const ImageProxy>) const {
                return false;
        }
-
-protected:
-       boost::shared_ptr<Log> _log;
 };
 
-boost::shared_ptr<ImageProxy> image_proxy_factory (boost::shared_ptr<cxml::Node> xml, boost::shared_ptr<Socket> socket, boost::shared_ptr<Log> log);
+boost::shared_ptr<ImageProxy> image_proxy_factory (boost::shared_ptr<cxml::Node> xml, boost::shared_ptr<Socket> socket);
 
 #endif