]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.h
pimpl not needed here
[lyx.git] / src / insets / InsetGraphics.h
index ee96bc3b626edd322e47ad37f1f6128e0b038b2b..884f03c51a16fb56677c8ffe9f1519eae8e26d21 100644 (file)
@@ -34,7 +34,7 @@ public:
        ///
        ~InsetGraphics();
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        EDITABLE editable() const;
        ///
@@ -61,7 +61,7 @@ public:
        void validate(LaTeXFeatures & features) const;
 
        /// returns LyX code associated with the inset. Used for TOC, ...)
-       Inset::Code lyxCode() const { return Inset::GRAPHICS_CODE; }
+       InsetCode lyxCode() const { return GRAPHICS_CODE; }
 
        /** Set the inset parameters, used by the GUIndependent dialog.
            Return true of new params are different from what was so far.
@@ -79,7 +79,9 @@ public:
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        /// all graphics can be embedded
-       void registerEmbeddedFiles(Buffer const &, EmbeddedFiles &, ParConstIterator const &) const;
+       void registerEmbeddedFiles(Buffer const &, EmbeddedFiles &) const;
+       ///
+       void updateEmbeddedFile(Buffer const &, EmbeddedFile const &);
 protected:
        InsetGraphics(InsetGraphics const &);
        ///