// -*- C++ -*-
/**
- * \file InsetBase.heorem.h
+ * \file Inset.heorem.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* Full author contact details are available in file CREDITS.
*/
-#ifndef InsetBase.heorem_H
-#define InsetBase.heorem_H
+#if 0
+#ifndef INSETTHEOREM_H
+#define INSETTHEOREM_H
#include "InsetCollapsable.h"
/** The theorem inset
*/
-class InsetBase.heorem : public InsetCollapsable {
+class Inset.heorem : public InsetCollapsable {
public:
///
- InsetBase.heorem();
+ Inset.heorem();
///
void write(Buffer const & buf, std::ostream & os) const;
///
- Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
+ InsetCode lyxCode() const { return THEOREM_CODE; }
///
- bool metrics(MetricsInfo &, Dimension &) const;
+ void metrics(MetricsInfo &, Dimension &) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///
+ bool isMacroScope(Buffer const &) const { return true; }
+ ///
int latex(Buffer const &, odocstream &,
OutputParams const &) const;
///
virtual docstring const editMessage() const;
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual Inset * clone() const;
///
mutable unsigned int center_indent_;
} // namespace lyx
#endif
+
+#endif