]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetert.h
reformatting and remove using delc
[lyx.git] / src / insets / insetert.h
index 1a2c53d02e18c87dea6ce55543b70a33820d98a8..d50f1e244f97879c38245f11278aaf31285aba8c 100644 (file)
@@ -20,8 +20,6 @@
 
 #include "insetcollapsable.h"
 
-class Painter;
-
 /** A colapsable text inset
   
   To write full ert (including styles and other insets) in a given
@@ -32,20 +30,17 @@ public:
        ///
        InsetERT();
        ///
-       ~InsetERT() {}
-       ///
-       void Write(Buffer const * buf, ostream & os) const;
+       void Write(Buffer const * buf, std::ostream & os) const;
        ///
-       Inset * Clone() const;
+       Inset * Clone(Buffer const &) const;
        ///
-       char const * EditMessage() const;
+       string const EditMessage() const;
        ///
-       bool InsertInset(BufferView *, Inset *);
+       bool InsertInset(BufferView *, Inset *) { return false; }
        ///
        void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
        ///
        void Edit(BufferView *, int, int, unsigned int);
-       ///
 };
 
 #endif