]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDFrac.h
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / InsetMathDFrac.h
index cb5996a0a52b4a24d4345b1aa3583a3892f83805..0ef6791c54f6f3e82b73b870d9e334e6b219a833 100644 (file)
 #include "InsetMathFrac.h"
 
 
+namespace lyx {
+
+
 /// \dfrac support
 class InsetMathDFrac : public InsetMathFrac {
 public:
        ///
        InsetMathDFrac();
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
-       std::string name() const;
+       docstring name() const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };
 
+
+} // namespace lyx
+
 #endif