// -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
+/**
+ * \file insettheorem.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * Copyright 1998 The LyX Team.
+ * \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 footnote inset
-
+/** The theorem inset
+
*/
class InsetTheorem : public InsetCollapsable {
public:
///
InsetTheorem();
///
- void Write(Buffer const * buf, std::ostream & os) const;
+ void write(Buffer const * buf, std::ostream & os) const;
///
- Inset * Clone() const;
+ virtual InsetBase * clone() const;
///
- Inset::Code LyxCode() const { return Inset::THEOREM_CODE; }
+ Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
///
bool display() const { return true; }
///
- int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
- ///
- const char * EditMessage() const;
- ///
- bool InsertInsetAllowed(Inset * inset) const;
+ int latex(Buffer const *, std::ostream &,
+ LatexRunParams const &) const;
///
- //LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
+ string const editMessage() const;
};
#endif