]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formula.h
fix build, thesaurus
[lyx.git] / src / mathed / formula.h
index 94c6d602b6671a11696bb69d2b02b483aee5dd74..dd2ec650ca9681c51f167c00d8175b281d59fb5d 100644 (file)
 #pragma interface
 #endif
 
-#include "mathed/formulabase.h"
+#include "formulabase.h"
 #include "math_defs.h"
 #include "math_atom.h"
 
-class MathMatrixInset;
+class MathHullInset;
 
 ///
 class InsetFormula : public InsetFormulaBase {
@@ -71,24 +71,25 @@ public:
        ///
        std::vector<string> const getLabelList() const;
        ///
-       void handleExtern(string const & arg);
-       ///
-       bool display() const;
-       ///
-       bool ams() const;
-       ///
        MathInsetTypes getType() const;
        ///
        MathAtom const & par() const { return par_; }
        ///
        MathAtom & par() { return par_; }
-public:
+
+private:
+       /// Is this a displayed environment?
+       bool display() const;
+       /// available in AMS only?
+       bool ams() const;
+       /// access to hull
+       MathHullInset * hull();
+       /// access to hull
+       MathHullInset const * hull() const;
        ///
-       MathAtom par_;
+       void handleExtern(string const & arg);
 
-       /// Access
-       MathMatrixInset * mat();
-       /// Access
-       MathMatrixInset const * mat() const;
+       ///
+       MathAtom par_;
 };
 #endif