]> git.lyx.org Git - lyx.git/blob - src/mathed/formula.h
the DocIterator stuff
[lyx.git] / src / mathed / formula.h
1 // -*- C++ -*-
2 /**
3  * \file formula.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Alejandro Aguilar Sierra
8  * \author André Pönitz
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef INSET_FORMULA_H
14 #define INSET_FORMULA_H
15
16 #include "math_hullinset.h"
17
18
19 /// The main LyX math inset
20 class InsetFormula : public MathHullInset {
21 public:
22         ///
23         std::auto_ptr<InsetBase> clone() const;
24         ///
25         void write(Buffer const & buf, std::ostream & os) const;
26         ///
27         void read(Buffer const & buf, LyXLex & lex);
28 };
29
30 // We don't really want to mess around with mathed stuff outside mathed.
31 // So do it here.
32 void mathDispatch(LCursor & cur, FuncRequest const & cmd);
33
34 #endif