summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-24 22:56:33 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-24 22:56:33 +0100
commite1e7de8d73bedd0c741e7df0390068c67867e09f (patch)
tree02f007aad80f4d99707f2507a81b0685865026d0 /src/verify.h
parentceaf7bc52712cb60708ed5eb5c62c5e463dd8e89 (diff)
Tidying.
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/verify.h b/src/verify.h
index ee90b226..0a8b39ca 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -31,20 +31,30 @@
files in the program, then also delete it here.
*/
+
+/** @file src/verify.h
+ * @brief dcp::verify() method and associated code
+ */
+
+
#ifndef LIBDCP_VERIFY_H
#define LIBDCP_VERIFY_H
+
#include <boost/filesystem.hpp>
#include <boost/function.hpp>
#include <boost/optional.hpp>
#include <string>
#include <vector>
+
/* Something in windows.h defines this */
#undef ERROR
+
namespace dcp {
+
class VerificationNote
{
public:
@@ -373,6 +383,7 @@ private:
boost::optional<uint64_t> _line;
};
+
std::vector<VerificationNote> verify (
std::vector<boost::filesystem::path> directories,
boost::function<void (std::string, boost::optional<boost::filesystem::path>)> stage,
@@ -386,6 +397,8 @@ bool operator== (dcp::VerificationNote const& a, dcp::VerificationNote const& b)
std::ostream& operator<<(std::ostream& s, dcp::VerificationNote const& note);
+
}
+
#endif