]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetGraphics.h
index c5a6bba0524e720ff75c7adf2897797f8ab5ad5a..ee96bc3b626edd322e47ad37f1f6128e0b038b2b 100644 (file)
@@ -23,7 +23,6 @@
 
 namespace lyx {
 
-class Dialogs;
 class RenderGraphic;
 class LaTeXFeatures;
 
@@ -79,6 +78,8 @@ public:
        void editGraphics(InsetGraphicsParams const &, Buffer const &) const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       /// all graphics can be embedded
+       void registerEmbeddedFiles(Buffer const &, EmbeddedFiles &, ParConstIterator const &) const;
 protected:
        InsetGraphics(InsetGraphics const &);
        ///
@@ -86,7 +87,7 @@ protected:
 private:
        friend class InsetGraphicsMailer;
 
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        /// Read the inset native format
        void readInsetGraphics(Lexer & lex, std::string const & bufpath);