summaryrefslogtreecommitdiff
path: root/src/lib/ext.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-01 23:12:18 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-03 20:16:17 +0100
commitd4f0bd6523854be0e03b6b14d00d8def3c1ce384 (patch)
treec8e06d15298e1fbe5a2033c2bf11016a0419ec19 /src/lib/ext.h
parent57457b8595d5d3e7f028686bd624ec74dde0b034 (diff)
Move a load of disk writing code to src/lib/ext.cc.
Diffstat (limited to 'src/lib/ext.h')
-rw-r--r--src/lib/ext.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/lib/ext.h b/src/lib/ext.h
new file mode 100644
index 000000000..7c8afd58f
--- /dev/null
+++ b/src/lib/ext.h
@@ -0,0 +1,36 @@
+/*
+ Copyright (C) 2019-2020 Carl Hetherington <cth@carlh.net>
+
+ This file is part of DCP-o-matic.
+
+ DCP-o-matic is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ DCP-o-matic is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
+#include <boost/filesystem.hpp>
+#include <string>
+
+
+class Nanomsg;
+
+
+namespace dcpomatic {
+
+
+extern void write (boost::filesystem::path dcp_path, std::string device, std::string posix_partition, Nanomsg* nanomsg);
+
+
+}
+