]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetGraphics.h
index c5a6bba0524e720ff75c7adf2897797f8ab5ad5a..f5410bcbb9d3a3f59c96cddbcdb503cb539da999 100644 (file)
@@ -23,7 +23,6 @@
 
 namespace lyx {
 
-class Dialogs;
 class RenderGraphic;
 class LaTeXFeatures;
 
@@ -35,7 +34,7 @@ public:
        ///
        ~InsetGraphics();
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        EDITABLE editable() const;
        ///
@@ -79,6 +78,10 @@ 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 &) const;
+       ///
+       void updateEmbeddedFile(Buffer const &, EmbeddedFile const &);
 protected:
        InsetGraphics(InsetGraphics const &);
        ///
@@ -86,7 +89,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);