]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSubstack.h
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / InsetMathSubstack.h
index 6d279a6cee8eaed9d7fef115ad6a363c2ad72aa9..f2b9e5c0aa48f0eb8e4505e393d8032c412a418d 100644 (file)
@@ -15,6 +15,9 @@
 #include "InsetMathGrid.h"
 
 
+namespace lyx {
+
+
 /// support for AMS's \\substack
 
 class InsetMathSubstack : public InsetMathGrid {
@@ -22,17 +25,17 @@ public:
        ///
        InsetMathSubstack();
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
        InsetMathSubstack const * asSubstackInset() const { return this; }
 
        ///
-       bool getStatus(LCursor & cur, FuncRequest const & cmd,
+       bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & flag) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        ///
        void write(WriteStream & os) const;
        ///
@@ -42,7 +45,10 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };
 
+
+
+} // namespace lyx
 #endif