]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.h
fix reading UTF8 encoded symbol file
[lyx.git] / src / mathed / InsetMathScript.h
index e3272aa0eb735e5faa7be041febb3a3d4c0c9646..adffa97ff7d9aedc8e4949ab62a6344d9ea3c112 100644 (file)
@@ -15,6 +15,9 @@
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 // An inset for super- and subscripts or both.  The 'nucleus' is always
 // cell 0.  If there is just one script, it's cell 1 and cell_1_is_up_
 // is set accordingly.  If both are used, cell 1 is up and cell 2 is down.
@@ -58,7 +61,7 @@ public:
        /// write content as something readable by Mathematica
        void mathematica(MathematicaStream &) const;
        /// write content as something resembling MathML
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        /// write content as something readable by Octave
        void octave(OctaveStream &) const;
 
@@ -96,9 +99,9 @@ public:
        /// make sure a script is accessible
        void ensure(bool up);
        /// say that we have scripts
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        /// say whether we have displayed limits
-       void infoize2(std::ostream & os) const;
+       void infoize2(odocstream & os) const;
 protected:
        virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
 private:
@@ -130,4 +133,7 @@ private:
        int limits_;
 };
 
+
+
+} // namespace lyx
 #endif