]> git.lyx.org Git - lyx.git/blobdiff - src/Mover.h
BufferParams.cpp: make Lithuanian documents compilable, fixes http://bugzilla.lyx...
[lyx.git] / src / Mover.h
index c07eeb3ee8a6741fb6ea820f0c76e32d826411fd..1cb9ce6f92d6a00a17049403bb0ea086c223a8fb 100644 (file)
@@ -36,24 +36,7 @@ public:
         *  \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
@@ -80,10 +63,6 @@ public:
        }
 
 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;
@@ -131,7 +110,7 @@ public:
 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,