2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1998 The LyX Team.
9 * ======================================================
12 #ifndef InsetTheorem_H
13 #define InsetTheorem_H
19 #include "insetcollapsable.h"
24 class InsetTheorem : public InsetCollapsable {
29 void write(Buffer const * buf, std::ostream & os) const;
31 virtual Inset * clone(Buffer const &, bool same_id = false) const;
33 Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
35 bool display() const { return true; }
37 int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
39 string const editMessage() const;