]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / insets / InsetBibtex.h
index 25ce300c9b2854a2d7614b8a8fbc15c5df528702..05fb37451e01d5cee422b4ce4dedf04710f17056 100644 (file)
@@ -18,9 +18,7 @@
 
 namespace lyx {
 
-namespace support {
-class FileNameList;
-}
+class EmbeddedFileList;
 
 
 /** Used to insert BibTeX's information
@@ -43,7 +41,7 @@ public:
        virtual void fillWithBibKeys(Buffer const &,
                BiblioInfo &, InsetIterator const &) const;
        ///
-       support::FileNameList const getFiles(Buffer const &) const;
+       EmbeddedFileList const getFiles(Buffer const &) const;
        ///
        bool addDatabase(std::string const &);
        ///
@@ -51,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;
 
 };