]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFontOld.h
A little cleanup of the layout files.
[lyx.git] / src / mathed / InsetMathFontOld.h
index 6239b9fa31611ca49417072580770f552c33ac76..e93f3061be70fde4f5adc49472f25794bb7846b3 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -15,6 +15,9 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 class latexkeys;
 
 /// Old-style font changes
@@ -39,11 +42,16 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
+       ///
+       int kerning(BufferView const * bv) const { return cell(0).kerning(bv); }
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        /// the font to be used on screen
        latexkeys const * key_;
 };
+
+
+} // namespace lyx
 #endif