mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
0507b8600d
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5345 a592a061-630c-0410-9148-cb99ea01b6c8
43 lines
850 B
C++
43 lines
850 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file insettheorem.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Lars Gullik Bjønnes
|
|
*
|
|
* Full author contact details are available in file CREDITS
|
|
*/
|
|
|
|
#ifndef InsetTheorem_H
|
|
#define InsetTheorem_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "insetcollapsable.h"
|
|
|
|
/** The theorem inset
|
|
|
|
*/
|
|
class InsetTheorem : public InsetCollapsable {
|
|
public:
|
|
///
|
|
InsetTheorem();
|
|
///
|
|
void write(Buffer const * buf, std::ostream & os) const;
|
|
///
|
|
virtual Inset * clone(Buffer const &, bool same_id = false) const;
|
|
///
|
|
Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
|
|
///
|
|
bool display() const { return true; }
|
|
///
|
|
int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
|
|
///
|
|
string const editMessage() const;
|
|
};
|
|
|
|
#endif
|