]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_dotsinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_dotsinset.h
index be37fb641bbd7bb3d31095262a4cc9e01fad3f55..75d4d9c7810911e7b040a11caa0656ab09f1a08c 100644 (file)
@@ -3,31 +3,27 @@
 #define MATH_DOTSINSET_H
 
 #include "math_diminset.h"
-#include "LString.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+
+class latexkeys;
 
 /// The different kinds of ellipsis
 class MathDotsInset : public MathDimInset {
 public:
        ///
-       explicit MathDotsInset(string const &);
-       ///
-       MathInset * clone() const;
+       explicit MathDotsInset(latexkeys const * l);
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void write(WriteStream & os) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void normalize(NormalStream &) const;
+       void draw(PainterInfo & pi, int x, int y) const;
        ///
-       void metrics(MathMetricsInfo & st) const;
+       string name() const;
 protected:
-       /// cache for the thing's heigth
+       /// cache for the thing's height
        mutable int dh_;
        ///
-       string const name_;
+       latexkeys const * key_;
 };
 #endif