]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMath.h
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / InsetMath.h
index aeaebb9d9a812d2c3227902d91405acbdbafc707..eaf6a40af9adc6d66ce5486204591771871538e3 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "MathData.h"
 
-#include "insets/InsetBase.h"
+#include "insets/Inset.h"
 
 
 namespace lyx {
@@ -70,7 +70,7 @@ class InsetMathSpace;
 class InsetMathSymbol;
 class InsetMathUnknown;
 
-class RefInset;
+class InsetMathRef;
 
 class NormalStream;
 class OctaveStream;
@@ -90,7 +90,7 @@ class TextMetricsInfo;
 class ReplaceData;
 
 
-class InsetMath : public InsetBase {
+class InsetMath : public Inset {
 public:
        /// identification as math inset
        InsetMath * asInsetMath() { return this; }
@@ -142,7 +142,7 @@ public:
        virtual InsetMathSymbol const   * asSymbolInset() const   { return 0; }
        virtual InsetMathUnknown        * asUnknownInset()        { return 0; }
        virtual InsetMathUnknown const  * asUnknownInset() const  { return 0; }
-       virtual RefInset                * asRefInset()            { return 0; }
+       virtual InsetMathRef            * asRefInset()            { return 0; }
 
        /// identifies things that can get scripts
        virtual bool isScriptable() const { return false; }
@@ -184,7 +184,7 @@ public:
 
        /// plain text output in ucs4 encoding
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+                     OutputParams const &) const;
 
        /// dump content to stderr for debugging
        virtual void dump() const;
@@ -195,8 +195,6 @@ public:
        virtual HullType getType() const;
        /// change type
        virtual void mutate(HullType /*newtype*/) {}
-       /// usually the latex name
-       virtual docstring name() const;
 
        /// math stuff usually isn't allowed in text mode
        virtual bool allowedIn(mode_type mode) const { return mode == MATH_MODE; }