]> git.lyx.org Git - lyx.git/blobdiff - src/bufferlist.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / bufferlist.h
index 0dbd2434b380af635077c51efb3d9d5dd9f8732b..4cedb64c9b5e0e2334626d521c1230861df352b2 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file bufferlist.C
+ * \file bufferlist.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
@@ -19,6 +19,7 @@
 #include <vector>
 
 class Buffer;
+class LatexRunParams;
 
 /**
  * The class holds all all open buffers, and handles construction
@@ -28,17 +29,6 @@ class BufferList : boost::noncopyable {
 public:
        BufferList();
 
-       /**
-          Loads a LyX file or...
-
-          \param filename The filename to read from.
-          \param tolastfiles Wether the file should be put in the
-          last opened files list or not.
-          \return The newly loaded LyX file.
-       */
-       Buffer * loadLyXFile(string const & filename,
-                            bool tolastfiles = true);
-
        /// write all buffers, asking the user, returns false if cancelled
        bool quitWriteAll();
 
@@ -51,16 +41,11 @@ public:
        /// Close all open buffers.
        void closeAll();
 
-       /// read the given file
-       Buffer * readFile(string const &, bool ro);
-
-       /// Make a new file (buffer) using a template
-       Buffer * newFile(string const &, string, bool isNamed = false);
        /// returns a vector with all the buffers filenames
        std::vector<string> const getFileNames() const;
 
        /// FIXME
-       void updateIncludedTeXfiles(string const &);
+       void updateIncludedTeXfiles(string const &, LatexRunParams const &);
 
        /// emergency save for all buffers
        void emergencyWriteAll();