]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_mathmlstream.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_mathmlstream.h
index 9e75152e08ac56aa9a5dff5ee7f161cc561ac0ed..65df407fba4de5ab5c8db87269fe2559e36ebe0f 100644 (file)
@@ -1,15 +1,23 @@
+// -*- C++ -*-
+/**
+ * \file math_mathmlstream.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_MATHMLSTREAM_H
 #define MATH_MATHMLSTREAM_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 // Please keep all four streams in one file until the interface has
 // settled.
 
 
-#include "math_metricsinfo.h"
+#include "metricsinfo.h"
 
 #include <iosfwd>
 
@@ -26,7 +34,7 @@ public:
        ///
        WriteStream(std::ostream & os, bool fragile, bool latex);
        ///
-       explicit WriteStream(std::ostream & os_);
+       explicit WriteStream(std::ostream & os);
        ///
        ~WriteStream();
        ///
@@ -79,14 +87,16 @@ WriteStream & operator<<(WriteStream &, unsigned int);
 //  MathML
 //
 
-struct MTag {
+class MTag {
+public:
        ///
        MTag(char const * const tag) : tag_(tag) {}
        ///
        char const * const tag_;
 };
 
-struct ETag {
+class ETag {
+public:
        ///
        ETag(char const * const tag) : tag_(tag) {}
        ///