4 #include <pbd/copyfile.h>
6 #include <pbd/compose.h>
14 PBD::copy_file (Glib::ustring from, Glib::ustring to)
16 ifstream in (from.c_str());
17 ofstream out (to.c_str());
20 error << string_compose (_("Could not open %1 for copy"), from) << endmsg;
25 error << string_compose (_("Could not open %1 as copy"), to) << endmsg;
32 error << string_compose (_("Could not copy existing file %1 to %2"), from, to) << endmsg;