X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetBibtex.h;h=05fb37451e01d5cee422b4ce4dedf04710f17056;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=2b8e8dea6ac74104dc3bececf7dd55957bc1e5bd;hpb=07b6198f4c3aa6dfe3245394b660966fd3e85c99;p=lyx.git diff --git a/src/insets/InsetBibtex.h b/src/insets/InsetBibtex.h index 2b8e8dea6a..05fb37451e 100644 --- a/src/insets/InsetBibtex.h +++ b/src/insets/InsetBibtex.h @@ -16,10 +16,10 @@ #include "InsetCommand.h" #include "BiblioInfo.h" -#include "support/FileName.h" +namespace lyx { +class EmbeddedFileList; -namespace lyx { /** Used to insert BibTeX's information */ @@ -41,7 +41,7 @@ public: virtual void fillWithBibKeys(Buffer const &, BiblioInfo &, InsetIterator const &) const; /// - std::vector const getFiles(Buffer const &) const; + EmbeddedFileList const getFiles(Buffer const &) const; /// bool addDatabase(std::string const &); /// @@ -49,15 +49,22 @@ public: /// void validate(LaTeXFeatures &) const; /// - static CommandInfo const * findInfo(std::string const &); + static ParamInfo const & findInfo(std::string const &); /// static std::string defaultCommand() { return "bibtex"; }; /// static bool isCompatibleCommand(std::string const & s) { return s == "bibtex"; } + /// + void registerEmbeddedFiles(Buffer const &, EmbeddedFileList &) const; + /// + void updateEmbeddedFile(Buffer const & buf, EmbeddedFile const & file); + protected: + /// virtual void doDispatch(Cursor & cur, FuncRequest & cmd); private: + /// virtual Inset * clone() const; };