]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetMarginal.h
pimpl not needed here
[lyx.git] / src / insets / InsetMarginal.h
index 4001180cdb67f03fdb6732e54c4ad711cd4b79bc..94f58a9f83f71059bef3f65d31ae71288e324514 100644 (file)
@@ -27,22 +27,24 @@ public:
        ///
        InsetMarginal(BufferParams const &);
        ///
-       Inset::Code lyxCode() const { return Inset::MARGIN_CODE; }
+       InsetCode lyxCode() const { return MARGIN_CODE; }
+       ///
+       docstring name() const { return from_ascii("Marginal"); }
        ///
        int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                 OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const & runparams) const;
+                     OutputParams const & runparams) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const & runparams) const;
+                   OutputParams const & runparams) const;
        ///
        virtual docstring const editMessage() const;
 protected:
        InsetMarginal(InsetMarginal const &);
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };