}
#include <boost/algorithm/string.hpp>
#include <boost/foreach.hpp>
+#include <boost/function.hpp>
#ifdef DCPOMATIC_DISK
#include <boost/dll/runtime_symbol_info.hpp>
#endif
using std::runtime_error;
using boost::shared_ptr;
using boost::optional;
+using boost::function;
/** @param s Number of seconds to sleep for */
void
vector<string> bits;
boost::algorithm::split (bits, line, boost::is_any_of(" "));
if (bits.size() > 1 && boost::algorithm::starts_with(bits[0], prefix)) {
+ boost::algorithm::replace_all (bits[1], "\\040", " ");
mounts.push_back(make_pair(bits[0], bits[1]));
LOG_DISK("Found mounted device %1 from prefix %2", bits[0], prefix);
}
bool
-Drive::unmount ()
+Drive::unmount ()
{
BOOST_FOREACH (boost::filesystem::path i, _mount_points) {
int const r = umount(i.string().c_str());
return p;
}
+
+void
+disk_write_finished ()
+{
+
+}
+