]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetExternal.h
index 31af0458a18b0e7f40d9b5504126b2bbcea7b82f..ac6cc991fa8e9296d38da9c89463bf39c9716b7c 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "Inset.h"
 #include "ExternalTransforms.h"
+#include "EmbeddedFiles.h"
 
 #include "support/FileName.h"
 #include "support/Translator.h"
@@ -147,13 +148,16 @@ public:
        void edit(Cursor & cur, bool left);
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       /// external file can be embedded
+       void registerEmbeddedFiles(Buffer const &, EmbeddedFiles &,
+                       ParConstIterator const &) const;
 
 protected:
        InsetExternal(InsetExternal const &);
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        /** This method is connected to the graphics loader, so we are
         *  informed when the image has been loaded.