]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRef.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathRef.h
index a0904e3541acb4c9b667cbbe7a03a1020f61da38..a31165e1c82a50b52fbd9a11174fa167830c7311 100644 (file)
@@ -20,12 +20,12 @@ namespace lyx {
 class Buffer;
 
 // for \ref
-class RefInset : public CommandInset {
+class InsetMathRef : public CommandInset {
 public:
        ///
-       RefInset();
+       InsetMathRef();
        ///
-       explicit RefInset(docstring const & data);
+       explicit InsetMathRef(docstring const & data);
        ///
        //void write(WriteStream & os) const;
        ///
@@ -35,10 +35,10 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
        ///
-       virtual RefInset * asRefInset() { return this; }
+       virtual InsetMathRef * asRefInset() { return this; }
 
        /// docbook output
-       int docbook(Buffer const & buf, odocstream & os, OutputParams const &) const;
+       int docbook(odocstream & os, OutputParams const &) const;
        /// generate something that will be understood by the Dialogs.
        std::string const createDialogStr(std::string const & name) const;
 
@@ -62,7 +62,7 @@ protected:
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
 private:
        ///
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };