#include <map>
#include <string>
+
+namespace lyx {
+
/**
* Utility to copy a file of a specified format from one place to another.
* This base class simply invokes the command support::copy().
protected:
virtual bool
do_copy(std::string const & from, std::string const & to,
- std::string const &) const;
+ std::string const &) const;
virtual bool
do_rename(std::string const & from, std::string const & to,
- std::string const &) const;
+ std::string const &) const;
};
/** @c command should be of the form
* <code>
- * sh $$s/scripts/fig_copy.sh $$i $$o $$l
+ * python $$s/scripts/fig_copy.py $$i $$o $$l
* </code>
* where $$s is a placeholder for the lyx support directory,
* $$i is a placeholder for the name of the file to be moved,
private:
virtual bool
do_copy(std::string const & from, std::string const & to,
- std::string const & latex) const;
+ std::string const & latex) const;
virtual bool
do_rename(std::string const & from, std::string const & to,
- std::string const & latex) const;
+ std::string const & latex) const;
std::string command_;
};
extern Movers movers;
extern Movers system_movers;
+
+} // namespace lyx
+
#endif // MOVER_H