]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSplit.h
Fix comment according to Enricos explanation
[lyx.git] / src / mathed / InsetMathSplit.h
index b77b0db3f1d142688d4ada4902b968f36dfe9138..06d17c47ce70f455010b17b5efe4e0a3edff406e 100644 (file)
 #include "InsetMathGrid.h"
 
 
+namespace lyx {
+
+
 class InsetMathSplit : public InsetMathGrid {
 public:
        ///
-       explicit InsetMathSplit(std::string const & name);
-
+       explicit InsetMathSplit(docstring const & name, char valign = 'c');
        ///
        void draw(PainterInfo & pi, int x, int y) const;
-
        ///
        bool getStatus(LCursor & cur, FuncRequest const & cmd,
                FuncStatus & flag) const;
 
        void write(WriteStream & os) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///
@@ -37,9 +38,12 @@ public:
        ///
        char defaultColAlign(col_type);
 private:
+       ///
        virtual std::auto_ptr<InsetBase> doClone() const;
        ///
-       std::string name_;
+       docstring name_;
 };
 
+
+} // namespace lyx
 #endif