]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
Remove the unused default parameter of Buffer::doExport().
[lyx.git] / src / Buffer.h
index a6db5ec01076935d2cd58ae466487de75fbdcffd..b6ae1f338d0ea007f47ba5340410353d773dbd36 100644 (file)
@@ -604,12 +604,13 @@ public:
 
        
 
-       ///
-       bool doExport(std::string const & format, bool put_in_tempdir,
+       /// target is a format name optionally followed by a space
+       /// and a destination file-name
+       bool doExport(std::string const & target, bool put_in_tempdir,
                bool includeall, std::string & result_file) const;
        ///
-       bool doExport(std::string const & format, bool put_in_tempdir,
-                     bool includeall = false) const;
+       bool doExport(std::string const & target, bool put_in_tempdir,
+                     bool includeall) const;
        ///
        bool preview(std::string const & format, bool includeall = false) const;
        /// mark the buffer as busy exporting something, or not
@@ -673,7 +674,10 @@ private:
        ///
        void collectChildren(ListOfBuffers & children, bool grand_children) const;
 
-       
+       /// noncopyable
+       Buffer(Buffer const &);
+       void operator=(Buffer const &);
+
        /// Use the Pimpl idiom to hide the internals.
        class Impl;
        /// The pointer never changes although *pimpl_'s contents may.