]> git.lyx.org Git - lyx.git/blobdiff - src/bufferlist.h
Point fix, earlier forgotten
[lyx.git] / src / bufferlist.h
index 0dbd2434b380af635077c51efb3d9d5dd9f8732b..798ae9d4ad5129969790c9d1a7ef1b4e14ca380c 100644 (file)
@@ -1,12 +1,12 @@
 // -*- 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.
  *
  * \author Lars Gullik Bjønnes
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef BUFFER_LIST_H
@@ -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();