]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettheorem.h
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / insettheorem.h
index fea6fe9f3e4c825ad884ae9e3a0a66a92527768f..53ba5267c6fab20c6c9c6f264110d92304366851 100644 (file)
@@ -12,9 +12,6 @@
 #ifndef InsetTheorem_H
 #define InsetTheorem_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "insetcollapsable.h"
 
@@ -28,13 +25,14 @@ public:
        ///
        void write(Buffer const * buf, std::ostream & os) const;
        ///
-       virtual Inset * clone(Buffer const &, bool same_id = false) const;
+       virtual Inset * clone() const;
        ///
        Inset::Code lyxCode() const { return Inset::THEOREM_CODE; }
        ///
        bool display() const { return true; }
        ///
-       int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        string const editMessage() const;
 };