]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseterror.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / inseterror.h
index 86f7c712f94c824109af727be2aa397989b3f7e2..519da5fe93dff0ddeeac40001ac9138aee86016f 100644 (file)
@@ -29,6 +29,7 @@
 class InsetError: public Inset {
 public:
        ///
+       explicit
        InsetError(string const & string);
        ///
        InsetError();
@@ -43,27 +44,25 @@ public:
        ///
        void draw(Painter &, LyXFont const & font, int baseline, float & x) const;
        ///
-       void Write(ostream &) const;
+       void Write(std::ostream &) const;
        ///
        void Read(LyXLex & lex);
        ///
-       int Latex(ostream &, signed char fragile) const;
-#ifndef USE_OSTREAM_ONLY
+       int Latex(std::ostream &, bool fragile, bool free_spc) const;
        ///
-       int Latex(string & file, signed char fragile) const;
-#endif
+       int Ascii(std::ostream &) const;
        ///
-       int Linuxdoc(string & file) const;
+       int Linuxdoc(std::ostream &) const;
        ///
-       int DocBook(string & file) const;
+       int DocBook(std::ostream &) const;
        ///
        bool AutoDelete() const;
        /// what appears in the minibuffer when opening
-       const char * EditMessage() const {return _("Opened error");}
+       char const * EditMessage() const;
        ///
        void Edit(BufferView *, int x, int y, unsigned int button);
        ///
-       unsigned char Editable() const;
+       EDITABLE Editable() const;
        ///
        Inset * Clone() const;
        ///