X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferList.h;h=a7a5e168c52327ec0e97708eaffaa07ab0d91077;hb=ad91dd139c4d6665704b11d9bd34770c3b769543;hp=9bfa70fcea00e97b30e5a0f741451cf84f1baf5f;hpb=d56faa70c4671e25abf5e6e9a6910a068d5d3269;p=lyx.git diff --git a/src/BufferList.h b/src/BufferList.h index 9bfa70fcea..a7a5e168c5 100644 --- a/src/BufferList.h +++ b/src/BufferList.h @@ -24,6 +24,7 @@ class OutputParams; namespace support { class FileName; +class FileNameList; } /** @@ -59,7 +60,7 @@ public: void closeAll(); /// returns a vector with all the buffers filenames - std::vector const getFileNames() const; + support::FileNameList const & fileNames() const; /// FIXME void updateIncludedTeXfiles(std::string const &, OutputParams const &); @@ -89,7 +90,7 @@ public: bool isLoaded(Buffer const * b) const; /// return index of named buffer in buffer list - int bufferNum(std::string const & name) const; + int bufferNum(support::FileName const & name) const; /// returns a pointer to the buffer with the given name. Buffer * getBuffer(support::FileName const &) const; /// returns a pointer to the buffer with the given number.