]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formula.h
updates to latexfeatures stuff; allow empty \document_path
[lyx.git] / src / mathed / formula.h
index 659c80a1cae23c36e706e40f162f5c0864533b4e..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, BufferView * bv);
-       ///
-       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