]> git.lyx.org Git - lyx.git/blobdiff - src/bufferlist.h
mathed uglyfication
[lyx.git] / src / bufferlist.h
index 84f9a8047ed5e30b52ff3d00ad056c97c4ddeeb4..5d8ddab2e4828699f08ef89c65430ba60ff68571 100644 (file)
 
 #include <boost/utility.hpp>
 
+#include <string>
 #include <vector>
 
 class Buffer;
-class LatexRunParams;
+class OutputParams;
 
 /**
  * The class holds all all open buffers, and handles construction
@@ -43,7 +44,7 @@ public:
        std::vector<std::string> const getFileNames() const;
 
        /// FIXME
-       void updateIncludedTeXfiles(std::string const &, LatexRunParams const &);
+       void updateIncludedTeXfiles(std::string const &, OutputParams const &);
 
        /// emergency save for all buffers
        void emergencyWriteAll();
@@ -67,6 +68,8 @@ public:
        Buffer * getBuffer(std::string const &);
        /// returns a pointer to the buffer with the given number.
        Buffer * getBuffer(unsigned int);
+       /// returns a pointer to the buffer whose temppath matches the string
+       Buffer * BufferList::getBufferFromTmp(std::string const &);
 
        /// reset current author for all buffers
        void setCurrentAuthor(std::string const & name, std::string const & email);