]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTheorem.h
pimpl not needed here
[lyx.git] / src / insets / InsetTheorem.h
index 6607d5f7f81a14fa1f1dcefeeaa66c29828a9c15..bf20efbd2db3c85f49b9c0ec9e06157cfa88732b 100644 (file)
@@ -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,9 +29,9 @@ 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;
        ///
@@ -49,3 +50,5 @@ private:
 } // namespace lyx
 
 #endif
+
+#endif