]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.h
pimpl not needed here
[lyx.git] / src / insets / InsetExternal.h
index ac6cc991fa8e9296d38da9c89463bf39c9716b7c..993354d328427248b97d81773612bcdeded8f7dc 100644 (file)
@@ -112,12 +112,12 @@ public:
        ///
        virtual ~InsetExternal();
        ///
-       virtual Inset::Code lyxCode() const { return EXTERNAL_CODE; }
+       virtual InsetCode lyxCode() const { return EXTERNAL_CODE; }
        ///
        virtual EDITABLE editable() const { return IS_EDITABLE; }
 
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -149,8 +149,7 @@ public:
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        /// external file can be embedded
-       void registerEmbeddedFiles(Buffer const &, EmbeddedFiles &,
-                       ParConstIterator const &) const;
+       void registerEmbeddedFiles(Buffer const &, EmbeddedFiles &) const;
 
 protected:
        InsetExternal(InsetExternal const &);