projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow control of where KDM CLI's output goes.
[dcpomatic.git]
/
src
/
lib
/
kdm_cli.h
diff --git
a/src/lib/kdm_cli.h
b/src/lib/kdm_cli.h
index 1c38b52dfe772a2b26e2aa39372741988f16a21d..4eb2e0fc3fde82b6d08529a545c0eacbd7b3f7ea 100644
(file)
--- a/
src/lib/kdm_cli.h
+++ b/
src/lib/kdm_cli.h
@@
-19,4
+19,8
@@
*/
-extern int kdm_cli (int argc, char* argv[]);
+#include <boost/optional.hpp>
+#include <string>
+
+
+extern boost::optional<std::string> kdm_cli (int argc, char* argv[], std::function<void (std::string)> out);