summaryrefslogtreecommitdiff
path: root/src/lib/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-10-21 17:25:04 +0200
committerCarl Hetherington <cth@carlh.net>2019-10-21 23:38:43 +0000
commitc6dba8368b45b6177a971050236d37da0ce4ff4c (patch)
tree3323c5f65dbc75e69303f9e823ae65e4574e68bb /src/lib/util.h
parenta2cba59a791eb8a65d730aa170586117f120e437 (diff)
Copy with progress updates when we might copy long files (#1574).
Backported from 48b82de5b6e8e07330a2f72dbddd8d9830fe047e in v2.15.x.
Diffstat (limited to 'src/lib/util.h')
-rw-r--r--src/lib/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index 5ffdae450..a011da335 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -106,6 +106,8 @@ extern void checked_fwrite (void const * ptr, size_t size, FILE* stream, boost::
extern size_t utf8_strlen (std::string s);
extern std::string day_of_week_to_string (boost::gregorian::greg_weekday d);
extern void emit_subtitle_image (ContentTimePeriod period, dcp::SubtitleImage sub, dcp::Size size, boost::shared_ptr<TextDecoder> decoder);
+extern bool show_jobs_on_console (bool progress);
+extern void copy_in_bits (boost::filesystem::path from, boost::filesystem::path to, boost::function<void (float)>);
#ifdef DCPOMATIC_VARIANT_SWAROOP
extern boost::shared_ptr<dcp::CertificateChain> read_swaroop_chain (boost::filesystem::path path);
extern void write_swaroop_chain (boost::shared_ptr<const dcp::CertificateChain> chain, boost::filesystem::path output);