]> git.lyx.org Git - lyx.git/blobdiff - src/bufferlist.h
the spellcheck cleanup
[lyx.git] / src / bufferlist.h
index 84f9a8047ed5e30b52ff3d00ad056c97c4ddeeb4..ad3ae4da8ccca7b4d995f545cef954cb8c2969e9 100644 (file)
@@ -14,6 +14,7 @@
 
 #include <boost/utility.hpp>
 
+#include <string>
 #include <vector>
 
 class Buffer;
@@ -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);