]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_charinset.h
fix #1073
[lyx.git] / src / mathed / math_charinset.h
index da50061c494c1f3d37501151c5020b02aac839cb..1f9fa26ccfde18ba3ed1f63daa447932e60e411d 100644 (file)
@@ -4,12 +4,11 @@
 
 #include "math_diminset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** The base character inset.
-    \author André Pönitz
+ *  \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 class MathCharInset : public MathDimInset {
@@ -19,9 +18,9 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void metrics(MetricsInfo & st) const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
        ///
        void metricsT(TextMetricsInfo const & st) const;
        ///
@@ -29,7 +28,9 @@ public:
        ///
        void write(WriteStream & os) const;
        ///
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream & ns) const;
+       ///
+       void octave(OctaveStream & os) const;
        /// identifies Charinsets
        MathCharInset const * asCharInset() const { return this; }
        ///
@@ -37,9 +38,7 @@ public:
        ///
        bool isRelOp() const;
        ///
-       bool match(MathInset *) const;
-       /// identifies complicated things that need braces if used as arg
-       bool needsBraces() const { return false; }
+       bool match(MathInset const *) const;
 
 private:
        /// the character