-/* This file is part of
- * ======================================================
+/**
+ * \file insettheorem.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * LyX, The Document Processor
+ * \author Lars Gullik Bjønnes
*
- * Copyright 1998 The LyX Team.
- *
- * ======================================================
+ * Full author contact details are available in file CREDITS
*/
#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
#include "insettheorem.h"
#include "gettext.h"
}
-Inset * InsetTheorem::clone(Buffer const &, bool) const
+InsetBase * InsetTheorem::clone() const
{
#ifdef WITH_WARNINGS
#warning Is this inset used? If YES this is WRONG!!! (Jug)
}
-int InsetTheorem::latex(Buffer const * buf,
- ostream & os, bool fragile, bool fp) const
+int InsetTheorem::latex(Buffer const * buf, ostream & os,
+ LatexRunParams const & runparams) const
{
os << "\\begin{theorem}%\n";
- int i = inset.latex(buf, os, fragile, fp);
+ int i = inset.latex(buf, os, runparams);
os << "\\end{theorem}%\n";
return i + 2;