]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetert.h
reformatting and remove using delc
[lyx.git] / src / insets / insetert.h
index cea113cb60e7181c110568628e3cee8fe809c103..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
@@ -29,21 +27,20 @@ class Painter;
 */
 class InsetERT : public InsetCollapsable {
 public:
-    ///
-    InsetERT(Buffer *);
-    ///
-    ~InsetERT() {}
-    ///
-    Inset * Clone() const;
-    ///
-    void Write(ostream &) const;
-    ///
-    const char * EditMessage() const { return _("Opened ERT Inset");}
-    ///
-    bool InsertInset(BufferView *, Inset *);
-    ///
-    void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
-    ///
+       ///
+       InsetERT();
+       ///
+       void Write(Buffer const * buf, std::ostream & os) const;
+       ///
+       Inset * Clone(Buffer const &) const;
+       ///
+       string const EditMessage() const;
+       ///
+       bool InsertInset(BufferView *, Inset *) { return false; }
+       ///
+       void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
+       ///
+       void Edit(BufferView *, int, int, unsigned int);
 };
 
 #endif