]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fboxinset.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / mathed / math_fboxinset.h
index 114637e8169cc44cadb841b135362e58e8514f2f..405a7c5b2782c6abc02829f6b3a742b539ed212c 100644 (file)
 #define MATH_FBOXINSET_H
 
 #include "math_nestinset.h"
-#include "metricsinfo.h"
 
 
-class latexkeys;
-
-/// Extra nesting
+/// Non-AMS-style frame
 class MathFboxInset : public MathNestInset {
 public:
        ///
-       MathFboxInset(latexkeys const * key);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       MathFboxInset();
        ///
        mode_type currentMode() const;
        ///
@@ -35,9 +30,10 @@ public:
        void write(WriteStream & os) const;
        /// write normalized content
        void normalize(NormalStream & ns) const;
-private:
        ///
-       latexkeys const * key_;
+       void infoize(std::ostream & os) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif