X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetTheorem.h;h=80d12feaf68d3a7ce30c17f94d912ab578b97dd5;hb=2c357c1d23b7b83839a9beb8225d4f1ae4f793b4;hp=6607d5f7f81a14fa1f1dcefeeaa66c29828a9c15;hpb=ed858d73e57ce7aa89e38c1bc4d799362edb0227;p=lyx.git diff --git a/src/insets/InsetTheorem.h b/src/insets/InsetTheorem.h index 6607d5f7f8..80d12feaf6 100644 --- a/src/insets/InsetTheorem.h +++ b/src/insets/InsetTheorem.h @@ -9,9 +9,10 @@ * Full author contact details are available in file CREDITS. */ -#ifndef Inset.heorem_H -#define Inset.heorem_H +#if 0 +#ifndef INSETTHEOREM_H +#define INSETTHEOREM_H #include "InsetCollapsable.h" @@ -28,12 +29,14 @@ public: /// 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; /// @@ -49,3 +52,5 @@ private: } // namespace lyx #endif + +#endif