// -*- 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 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 Inset * 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;
- ///
- string const EditMessage() const;
+ int latex(Buffer const *, std::ostream &,
+ LatexRunParams const &) const;
///
- bool InsertInsetAllowed(Inset * inset) const;
+ string const editMessage() const;
};
#endif