]> git.lyx.org Git - lyx.git/blobdiff - src/mover.h
* remove various xforms relicts, in particular:
[lyx.git] / src / mover.h
index 153a20ba89f8871407340f862913524c1758e7ea..04e016641ca42ba3cee4873de08fdab8c3e4467a 100644 (file)
@@ -81,11 +81,11 @@ public:
 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;
 };
 
 
@@ -98,15 +98,16 @@ protected:
  *  copied .fig file will require a transformation of the picture file
  *  reference if it is to be found by XFig.
  */
-struct SpecialisedMover : public Mover
+class SpecialisedMover : public Mover
 {
+public:
        SpecialisedMover() {}
 
        /** @c command should be of the form
         *  <code>
-        *      sh $$s/copy_fig.sh $$i $$o $$l
+        *      sh $$s/scripts/fig_copy.sh $$i $$o $$l
         *  </code>
-        *  where $$s is a placeholder for the lyx script directory,
+        *  where $$s is a placeholder for the lyx support directory,
         *        $$i is a placeholder for the name of the file to be moved,
         *        $$o is a placeholder for the name of the file after moving,
         *        $$l is a placeholder for the name of the file after moving,
@@ -127,11 +128,11 @@ struct SpecialisedMover : public Mover
 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_;
 };