]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetInclude.h
index dbdaa340f3c1424fb640d9f22832ee63f72b81da..41d11ab12663a616ed7c4cd8951e6b0a947818b4 100644 (file)
 #ifndef INSET_INCLUDE_H
 #define INSET_INCLUDE_H
 
-#include "Biblio_typedefs.h"
+#include "BiblioInfo.h"
 #include "Inset.h"
 #include "InsetCommandParams.h"
 #include "RenderButton.h"
 #include "MailInset.h"
 #include "Counters.h"
+#include "EmbeddedFiles.h"
 
 #include "support/FileName.h"
 
@@ -62,7 +63,7 @@ public:
         *  \param it not used here
         */
        virtual void fillWithBibKeys(Buffer const & buffer,
-               biblio::BibKeyList & keys, InsetIterator const & it) const;
+               BiblioInfo & keys, InsetIterator const & it) const;
        
        /** Update the cache with all bibfiles in use of the child buffer
         *  (including bibfiles of grandchild documents).
@@ -103,12 +104,15 @@ public:
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
        void updateLabels(Buffer const & buffer, ParIterator const &);
+       /// child document can be embedded
+       void registerEmbeddedFiles(Buffer const &, EmbeddedFiles &,
+                       ParConstIterator const &) const;
 protected:
        InsetInclude(InsetInclude const &);
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        /** Slot receiving a signal that the external file has changed
         *  and the preview should be regenerated.