]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBoldSymbol.h
rename LyXFont to Font except in tex2lyx
[lyx.git] / src / mathed / InsetMathBoldSymbol.h
index 16d0ef60cc4ef0bcb1b82baf19447022cd1e0c1c..229f28c9855825e12aa786b78d3fe56b0efaceba 100644 (file)
 #include "InsetMathNest.h"
 
 
+namespace lyx {
+
+
 /// Inset for AMSTeX's \boldsymbol
 class InsetMathBoldSymbol : public InsetMathNest {
 public:
        ///
        InsetMathBoldSymbol();
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -33,9 +36,12 @@ public:
        ///
        void write(WriteStream & os) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };
 
+
+} // namespace lyx
+
 #endif