lyx_mirror/src/insets/insettheorem.h
Lars Gullik Bjønnes a654de29ea ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3802 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:09:55 +00:00

43 lines
850 B
C++

// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1998 The LyX Team.
*
* ======================================================
*/
#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