]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMath.h
A little cleanup of the layout files.
[lyx.git] / src / mathed / InsetMath.h
index d805fd36e3c4fb51df686ca2c8dedbb92c5e990c..6b178a7a2dc3df1d470c531f2df1e33ae1d9f30c 100644 (file)
@@ -5,7 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -31,7 +31,8 @@ enum HullType {
        hullXXAlignAt,
        hullFlAlign,
        hullMultline,
-       hullGather
+       hullGather,
+       hullRegexp
 };
 
 HullType hullType(docstring const & name);
@@ -66,6 +67,7 @@ class InsetMathNest;
 class InsetMathScript;
 class InsetMathString;
 class InsetMathSpace;
+class InsetMathSpecialChar;
 class InsetMathSymbol;
 class InsetMathUnknown;
 
@@ -142,6 +144,7 @@ public:
        virtual InsetMathUnknown        * asUnknownInset()        { return 0; }
        virtual InsetMathUnknown const  * asUnknownInset() const  { return 0; }
        virtual InsetMathRef            * asRefInset()            { return 0; }
+       virtual InsetMathSpecialChar const * asSpecialCharInset() const { return 0; }
 
        /// identifies things that can get scripts
        virtual bool isScriptable() const { return false; }
@@ -182,8 +185,7 @@ public:
        virtual void octave(OctaveStream &) const;
 
        /// plain text output in ucs4 encoding
-       int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+       int plaintext(odocstream &, OutputParams const &) const;
 
        /// dump content to stderr for debugging
        virtual void dump() const;
@@ -199,7 +201,7 @@ public:
        virtual bool allowedIn(mode_type mode) const { return mode == MATH_MODE; }
 
        /// superscript kerning
-       virtual int kerning(BufferView const * bv) const { return 0; }
+       virtual int kerning(BufferView const *) const { return 0; }
 };
 
 ///