]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBibtex.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[features.git] / src / insets / InsetBibtex.h
index 144138e00ab48e9415e73ba3292fa4d9fd21cded..64cab78beac8b478bc4aec91cf3dc6e0a9edf4e6 100644 (file)
 #ifndef INSET_BIBTEX_H
 #define INSET_BIBTEX_H
 
-#include <map>
-#include "InsetCommand.h"
 #include "BiblioInfo.h"
+#include "InsetCommand.h"
 
-namespace lyx {
+#include "support/FileNameList.h"
 
-class EmbeddedFileList;
+#include <map>
 
+namespace lyx {
 
 /** Used to insert BibTeX's information
   */
@@ -40,11 +40,11 @@ public:
        ///
        void fillWithBibKeys(BiblioInfo &, InsetIterator const &) const;
        ///
-       EmbeddedFileList embeddedFiles() const;
+       support::FileNameList getBibFiles() const;
        ///
-       bool addDatabase(std::string const &);
+       bool addDatabase(docstring const &);
        ///
-       bool delDatabase(std::string const &);
+       bool delDatabase(docstring const &);
        ///
        void validate(LaTeXFeatures &) const;
        ///
@@ -54,11 +54,10 @@ public:
        ///
        static bool isCompatibleCommand(std::string const & s) 
                { return s == "bibtex"; }
+       /// look up the path to the file using TeX
+       static support::FileName 
+               getBibTeXPath(docstring const & filename, Buffer const & buf);
 private:
-       ///
-       void registerEmbeddedFiles(EmbeddedFileList &) const;
-       ///
-       void updateEmbeddedFile(EmbeddedFile const & file);
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///