]> git.lyx.org Git - features.git/blobdiff - src/insets/insetert.h
several changes and some new insets, read the Changelog
[features.git] / src / insets / insetert.h
index 7da1ef6319c1648daff30ea1da693a2774f8a526..1a2c53d02e18c87dea6ce55543b70a33820d98a8 100644 (file)
@@ -20,8 +20,6 @@
 
 #include "insetcollapsable.h"
 
-using std::ostream;
-
 class Painter;
 
 /** A colapsable text inset
@@ -31,23 +29,23 @@ 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);
-    ///
-    void Edit(BufferView *, int, int, unsigned int);
-    ///
+       ///
+       InsetERT();
+       ///
+       ~InsetERT() {}
+       ///
+       void Write(Buffer const * buf, ostream & os) const;
+       ///
+       Inset * Clone() const;
+       ///
+       char const * EditMessage() const;
+       ///
+       bool InsertInset(BufferView *, Inset *);
+       ///
+       void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
+       ///
+       void Edit(BufferView *, int, int, unsigned int);
+       ///
 };
 
 #endif