]> git.lyx.org Git - lyx.git/blob - src/insets/insettheorem.h
parlist-a-1.diff
[lyx.git] / src / insets / insettheorem.h
1 // -*- C++ -*-
2 /**
3  * \file insettheorem.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef InsetTheorem_H
13 #define InsetTheorem_H
14
15
16 #include "insetcollapsable.h"
17
18 /** The theorem inset
19
20 */
21 class InsetTheorem : public InsetCollapsable {
22 public:
23         ///
24         InsetTheorem();
25         ///
26         void write(Buffer const * buf, std::ostream & os) const;
27         ///
28         virtual Inset * clone(Buffer const &, bool same_id = false) const;
29         ///
30         Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
31         ///
32         bool display() const { return true; }
33         ///
34         int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
35         ///
36         string const editMessage() const;
37 };
38
39 #endif