]> git.lyx.org Git - lyx.git/blobdiff - src/bufferlist.h
Change to use preffered calling of Boost.Function
[lyx.git] / src / bufferlist.h
index 19dfd51d3ceeb22be66ec91c92e79d09f68995bd..5d8ddab2e4828699f08ef89c65430ba60ff68571 100644 (file)
@@ -18,7 +18,7 @@
 #include <vector>
 
 class Buffer;
-class LatexRunParams;
+class OutputParams;
 
 /**
  * The class holds all all open buffers, and handles construction
@@ -44,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();
@@ -68,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);