]> 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 882f0b8460a5ee3adbf91aab2f6527538071b8ba..ec783d857bfc4e0edaf33aaa307f15594083f668 100644 (file)
 namespace lyx {
 
 class BiblioInfo;
+class docstring_list;
 
 namespace support {
        class FileName;
-       class FileNamePairList;
 } // namespace support
 
 /** Used to insert BibTeX's information
@@ -29,9 +29,11 @@ class InsetBibtex : public InsetCommand {
 public:
        ///
        InsetBibtex(Buffer *, InsetCommandParams const &);
+       ///
+       ~InsetBibtex();
 
        ///
-       support::FileNamePairList getBibFiles() const;
+       docstring_list getBibFiles() const;
        ///
        bool addDatabase(docstring const &);
        ///
@@ -55,8 +57,6 @@ public:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       void updateBuffer(ParIterator const &, UpdateType);
-       ///
        void collectBibKeys(InsetIterator const &, support::FileNameList &) const;
        ///
        void validate(LaTeXFeatures &) const;
@@ -78,9 +78,6 @@ public:
        //@}
 
 private:
-       /// look up the path to the file using TeX
-       static support::FileName
-               getBibTeXPath(docstring const & filename, Buffer const & buf);
        ///
        void editDatabases() const;
        ///