X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_deliminset.h;h=c96ffa5924cb30ce63916d5919271b66c7b54391;hb=e5fed66b3b96e9bc448c2e53e4ceb36b7d50481c;hp=c896ee7ca3aa464e93552e0adaa091da95617931;hpb=c93e9dcbc59d0b404561dbc7c373716f11fc13f1;p=lyx.git diff --git a/src/mathed/math_deliminset.h b/src/mathed/math_deliminset.h index c896ee7ca3..c96ffa5924 100644 --- a/src/mathed/math_deliminset.h +++ b/src/mathed/math_deliminset.h @@ -16,13 +16,19 @@ class MathDelimInset : public MathNestInset { public: /// - MathDelimInset(string const &, string const &); + MathDelimInset(string const & left, string const & right); /// MathInset * clone() const; /// MathDelimInset * asDelimInset() { return this; } /// MathDelimInset const * asDelimInset() const { return this; } + /// is it (...)? + bool isParanthesis() const; + /// is it [...]? + bool isBrackets() const; + /// is it |...|? + bool isAbs() const; /// void metrics(MathMetricsInfo const & st) const; /// @@ -45,7 +51,5 @@ public: private: /// int dw() const; - /// - static string latexName(string const & name); }; #endif