Various attempts to clean up DCP comparison code.
[libdcp.git] / src / mono_picture_mxf_writer.h
index c4d9b6ed672c374dbcca6ee0e7f25c59f1248cd2..065171c2f3e8ff9005d6842628a06e1413830a46 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2013 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
 
     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
 
 */
 
+/** @file  src/mono_picture_mxf_writer.h
+ *  @brief MonoPictureMXFWriter class
+ */
+
+#ifndef LIBDCP_MONO_PICTURE_MXF_WRITER_H
+#define LIBDCP_MONO_PICTURE_MXF_WRITER_H
+
+#include "picture_mxf_writer.h"
+#include <boost/shared_ptr.hpp>
+#include <boost/utility.hpp>
 #include <stdint.h>
 #include <string>
 #include <fstream>
-#include <boost/shared_ptr.hpp>
-#include <boost/utility.hpp>
-#include "picture_mxf_writer.h"
 
 namespace dcp {
 
-/** A helper class for writing to MonoPictureMXFs.
+/** @class MonoPictureMXFWriter
+ *  @brief A helper class for writing to MonoPictureMXFs
  *
  *  Objects of this class can only be created with MonoPictureMXF::start_write().
  *
@@ -45,7 +53,7 @@ public:
 private:
        friend class MonoPictureMXF;
 
-       MonoPictureMXFWriter (PictureMXF *, boost::filesystem::path file, bool);
+       MonoPictureMXFWriter (PictureMXF *, boost::filesystem::path file, Standard standard, bool);
        void start (uint8_t *, int);
 
        /* do this with an opaque pointer so we don't have to include
@@ -57,3 +65,5 @@ private:
 };
 
 }
+
+#endif