]> git.lyx.org Git - lyx.git/blob - src/mathed/math_splitinset.h
Martins and my getStatus and infoize fixes
[lyx.git] / src / mathed / math_splitinset.h
1 // -*- C++ -*-
2 /**
3  * \file math_splitinset.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_SPLITINSET_H
13 #define MATH_SPLITINSET_H
14
15 #include "math_gridinset.h"
16
17
18 class MathSplitInset : public MathGridInset {
19 public:
20         ///
21         explicit MathSplitInset(std::string const & name);
22
23         ///
24         bool getStatus(LCursor & cur, FuncRequest const & cmd,
25                 FuncStatus & flag) const;
26
27         void write(WriteStream & os) const;
28         ///
29         void infoize(std::ostream & os) const;
30         ///
31         int defaultColSpace(col_type) { return 0; }
32         ///
33         char defaultColAlign(col_type);
34 private:
35         virtual std::auto_ptr<InsetBase> doClone() const;
36         ///
37         std::string name_;
38 };
39
40 #endif