diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-09 20:53:22 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-13 00:27:39 +0200 |
| commit | 747e81de1927c71b39dc916be05bb9296ca6b882 (patch) | |
| tree | 4068bac39995c02aa43917f39fb3dff664f71efd /src/lib/cross_linux.cc | |
| parent | 6d27b49a7a767a9c8b31dc0f799da940ddb7232f (diff) | |
Support unmounting on macOS and Windows.v2.15.51
Diffstat (limited to 'src/lib/cross_linux.cc')
| -rw-r--r-- | src/lib/cross_linux.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/cross_linux.cc b/src/lib/cross_linux.cc index d8a33482f..36683a0cd 100644 --- a/src/lib/cross_linux.cc +++ b/src/lib/cross_linux.cc @@ -32,6 +32,7 @@ extern "C" { } #include <boost/algorithm/string.hpp> #include <boost/foreach.hpp> +#include <boost/function.hpp> #ifdef DCPOMATIC_DISK #include <boost/dll/runtime_symbol_info.hpp> #endif @@ -58,6 +59,7 @@ using std::cout; using std::runtime_error; using boost::shared_ptr; using boost::optional; +using boost::function; /** @param s Number of seconds to sleep for */ void @@ -329,7 +331,7 @@ Drive::get () bool -Drive::unmount () +Drive::unmount () { BOOST_FOREACH (boost::filesystem::path i, _mount_points) { int const r = umount(i.string().c_str()); @@ -372,3 +374,10 @@ config_path () return p; } + +void +disk_write_finished () +{ + +} + |
