]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_symbolinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_symbolinset.h
index a26f54d03074d6791f635d264b9decc7ea44e3b6..0427e4e7d3d39ab9a73f8ca5cc9786c0bc7587e4 100644 (file)
@@ -2,26 +2,26 @@
 #ifndef MATH_SYMBOLINSET_H
 #define MATH_SYMBOLINSET_H
 
-
-#include "math_diminset.h"
+#include "math_inset.h"
 
 struct latexkeys;
 
+
 // "normal" symbols that don't take limits and don't grow in displayed
 // formulae
 
-class MathSymbolInset : public MathDimInset {
+class MathSymbolInset : public MathInset {
 public:
        ///
-       explicit MathSymbolInset(latexkeys const *);
+       explicit MathSymbolInset(latexkeys const * l);
        ///
-       explicit MathSymbolInset(char const *);
+       explicit MathSymbolInset(char const * name);
        ///
-       explicit MathSymbolInset(string const &);
+       explicit MathSymbolInset(string const & name);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void metrics(MetricsInfo & st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///