X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbufferlist.h;h=4cedb64c9b5e0e2334626d521c1230861df352b2;hb=09e01879979643949f1f2c7216023f1f35d5ada2;hp=0dbd2434b380af635077c51efb3d9d5dd9f8732b;hpb=37a1ffccb9c3e8c1ec6662a18bbd21d773e4a245;p=lyx.git diff --git a/src/bufferlist.h b/src/bufferlist.h index 0dbd2434b3..4cedb64c9b 100644 --- a/src/bufferlist.h +++ b/src/bufferlist.h @@ -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 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 const getFileNames() const; /// FIXME - void updateIncludedTeXfiles(string const &); + void updateIncludedTeXfiles(string const &, LatexRunParams const &); /// emergency save for all buffers void emergencyWriteAll();