* Full author contact details are available in file CREDITS.
*/
+#include <config.h>
+
#include "mover.h"
#include "support/filetools.h"
bool Mover::do_copy(string const & from, string const & to,
- string const &) const
+ string const &) const
{
return support::copy(from, to);
}
bool Mover::do_rename(string const & from, string const & to,
- string const &) const
+ string const &) const
{
return support::rename(from, to);
}
bool SpecialisedMover::do_copy(string const & from, string const & to,
- string const & latex) const
+ string const & latex) const
{
if (command_.empty())
return Mover::do_copy(from, to, latex);
- string command = support::LibScriptSearch(command_);
+ string command = support::libScriptSearch(command_);
command = support::subst(command, "$$i", from);
command = support::subst(command, "$$o", to);
command = support::subst(command, "$$l", latex);
bool SpecialisedMover::do_rename(string const & from, string const & to,
- string const & latex) const
+ string const & latex) const
{
if (command_.empty())
return Mover::do_rename(from, to, latex);