X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetBibtex.h;h=05fb37451e01d5cee422b4ce4dedf04710f17056;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=aab27400f6bf12bd449c71e68ae1672b1fd5c579;hpb=f7b1c86393d890d5d473279d88e26bb78f8c1275;p=lyx.git diff --git a/src/insets/InsetBibtex.h b/src/insets/InsetBibtex.h index aab27400f6..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,16 +41,30 @@ 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 &); /// bool delDatabase(std::string const &); /// void validate(LaTeXFeatures &) 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; };