]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetInclude.h
index 9200fda6afff5292099c69521d99551db7bef944..41d11ab12663a616ed7c4cd8951e6b0a947818b4 100644 (file)
@@ -18,6 +18,7 @@
 #include "RenderButton.h"
 #include "MailInset.h"
 #include "Counters.h"
+#include "EmbeddedFiles.h"
 
 #include "support/FileName.h"
 
@@ -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.