* \returns true if successful.
*/
bool
- copy(support::FileName const & from, support::FileName const & to,
- unsigned long int mode = (unsigned long int)-1) const;
-
- /** Copy file @c from to @c to.
- * \see SpecialisedMover::SpecialisedMover() for an explanation of
- * @c latex.
- * This version should be used to copy files from the temporary
- * directory to the export location, since @c to and @c latex may
- * not be equal in this case.
- * \returns true if successful.
- */
- bool
- copy(support::FileName const & from, support::FileName const & to,
- std::string const & latex,
- unsigned long int mode = (unsigned long int)-1) const
- {
- return do_copy(from, to, latex, mode);
- }
+ copy(support::FileName const & from, support::FileName const & to) const;
/** Rename file @c from as @c to.
* This version should be used to move files from the original
}
protected:
- virtual bool
- do_copy(support::FileName const & from, support::FileName const & to,
- std::string const &, unsigned long int mode) const;
-
virtual bool
do_rename(support::FileName const & from, support::FileName const & to,
std::string const &) const;
private:
virtual bool
do_copy(support::FileName const & from, support::FileName const & to,
- std::string const & latex, unsigned long int mode) const;
+ std::string const & latex) const;
virtual bool
do_rename(support::FileName const & from, support::FileName const & to,