summaryrefslogtreecommitdiff
path: root/src/lib/map_cli.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-02-18 00:15:30 +0100
committerCarl Hetherington <cth@carlh.net>2023-05-13 08:54:58 +0200
commit3a1ddb9e182be28a22c5bbc85c06ee6629b72fe6 (patch)
tree5294bf4b097d12e0fb69affb307def8e897d76ee /src/lib/map_cli.h
parentbab59a964fe7fe6dabf1fb3df95ed5d7ec8df88a (diff)
Add dcpomatic2_map tool (#2445).
Diffstat (limited to 'src/lib/map_cli.h')
-rw-r--r--src/lib/map_cli.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/lib/map_cli.h b/src/lib/map_cli.h
new file mode 100644
index 000000000..b26054541
--- /dev/null
+++ b/src/lib/map_cli.h
@@ -0,0 +1,27 @@
+/*
+ Copyright (C) 2023 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/optional.hpp>
+#include <string>
+
+
+extern boost::optional<std::string> map_cli(int argc, char* argv[], std::function<void (std::string)> out);
+