summaryrefslogtreecommitdiff
path: root/src/lib/combine_dcp_job.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-11 01:07:46 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-20 01:30:41 +0200
commit5a3e836da9480bca0c3ef3384fa2010f358ccc7e (patch)
tree2a15662a32dc00c86740641db6eedaf99daacb42 /src/lib/combine_dcp_job.h
parent44dde2ee811eb35535633d760e6c0671cdf45cae (diff)
Add dcpomatic_combine tool (#1245).
Diffstat (limited to 'src/lib/combine_dcp_job.h')
-rw-r--r--src/lib/combine_dcp_job.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/lib/combine_dcp_job.h b/src/lib/combine_dcp_job.h
new file mode 100644
index 000000000..97bf20110
--- /dev/null
+++ b/src/lib/combine_dcp_job.h
@@ -0,0 +1,39 @@
+/*
+ Copyright (C) 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 "job.h"
+#include <boost/filesystem.hpp>
+
+
+class CombineDCPJob : public Job
+{
+public:
+ CombineDCPJob (std::vector<boost::filesystem::path> inputs, boost::filesystem::path output);
+
+ std::string name () const;
+ std::string json_name () const;
+ void run ();
+
+private:
+ std::vector<boost::filesystem::path> _inputs;
+ boost::filesystem::path _output;
+};
+