]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.h
Don't add localswitch if no language changes
[lyx.git] / src / insets / InsetBibtex.h
index 038065ffc0dc8b9a6ddf71d67fd47c08c15820c2..ec783d857bfc4e0edaf33aaa307f15594083f668 100644 (file)
 namespace lyx {
 
 class BiblioInfo;
+class docstring_list;
 
 namespace support {
        class FileName;
-       class FileNamePairList;
-}
+} // namespace support
 
 /** Used to insert BibTeX's information
   */
@@ -33,7 +33,7 @@ public:
        ~InsetBibtex();
 
        ///
-       support::FileNamePairList getBibFiles() const;
+       docstring_list getBibFiles() const;
        ///
        bool addDatabase(docstring const &);
        ///
@@ -57,7 +57,7 @@ public:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       void collectBibKeys(InsetIterator const &) const;
+       void collectBibKeys(InsetIterator const &, support::FileNameList &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///
@@ -78,13 +78,10 @@ public:
        //@}
 
 private:
-       /// look up the path to the file using TeX
-       static support::FileName
-               getBibTeXPath(docstring const & filename, Buffer const & buf);
        ///
        void editDatabases() const;
        ///
-       void parseBibTeXFiles() const;
+       void parseBibTeXFiles(support::FileNameList &) const;
        ///
        bool usingBiblatex() const;