Use exceptions to hold errors even in the keep_going case.
[libdcp.git] / src / signer.h
index c57c73cf64ef48f16c7f5c744e9b71d36351ceb1..6e258f8d5dba8bd87aef6f4e2742f22b3da10a0d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-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
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef LIBDCP_SIGNER_H
+#define LIBDCP_SIGNER_H
+
 /** @file  src/signer.h
  *  @brief Signer class.
  */
@@ -35,7 +38,7 @@ namespace dcp {
 /** @class Signer
  *  @brief A class which can sign XML files.
  */
-class Signer
+class Signer : public boost::noncopyable
 {
 public:
        /** @param c Certificate chain to sign with.
@@ -62,3 +65,5 @@ private:
 };
 
 }
+
+#endif