]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.h
use stream-like syntax for LaTeX output
[lyx.git] / src / mathed / math_deliminset.h
index 17f6c58494c2486991c048d30d01863576eba4ca..89240db8cbfa722315481f3596ef54049152d104 100644 (file)
     \author Alejandro Aguilar Sierra
 */
 
-class latexkeys;
-
 class MathDelimInset : public MathNestInset {
 public:
        ///
-       MathDelimInset(latexkeys const *, latexkeys const *);
-
-#warning Remove this ass soon the Math panel patch is applied
-       ///
-       MathDelimInset(int, int) : MathNestInset(2) {}
-
+       MathDelimInset(string const &, string const &);
        ///
        MathInset * clone() const;
        ///
        void draw(Painter &, int x, int y) const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void write(MathWriteInfo & os) const;
        ///
-       void metrics(MathStyles st) const;
+       void metrics(MathMetricsInfo const & st) const;
 private:
-       ///
-       static string latexName(latexkeys const *);
        ///
        int dw() const;
        ///
-       latexkeys const * left_;
+       string left_;
+       ///
+       string right_;
        ///
-       latexkeys const * right_;
+       static string latexName(string const & name);
 };
 #endif