]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathCases.h
rename LyXFont to Font except in tex2lyx
[lyx.git] / src / mathed / InsetMathCases.h
index a34976358471c7045f0a14c4ae607e883ec4ecea..41616b93e36464f05b09367718f19943c0f30288 100644 (file)
@@ -15,6 +15,9 @@
 #include "InsetMathGrid.h"
 
 
+namespace lyx {
+
+
 class LaTeXFeatures;
 
 class InsetMathCases : public InsetMathGrid {
@@ -22,17 +25,17 @@ public:
        ///
        explicit InsetMathCases(row_type rows = 1u);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+       virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
-       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 normalize(NormalStream &) 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