]> git.lyx.org Git - features.git/blobdiff - src/insets/inseterror.h
read the Changelog
[features.git] / src / insets / inseterror.h
index 112a4ab36bae94424010d7ca80c3462df06d4cf0..d1a19f8491f6002a7f5d98fb606a1f587c7ae565 100644 (file)
@@ -4,7 +4,8 @@
  *
  *           LyX, The Document Processor
  *      
- *         Copyright (C) 1995 Matthias Ettrich
+ *           Copyright 1995 Matthias Ettrich
+ *           Copyright 1995-2000 The LyX Team. 
  *
  * ====================================================== */
 
   The edit-operation opens a 
   dialog with the text of the error-message. The inset is displayed as 
   "Error" in a box, and automatically deleted. */
-class InsetError: public Inset {
+class InsetError : public Inset {
 public:
        ///
+       explicit
        InsetError(string const & string);
+#if 0
        ///
        InsetError();
+#endif
        ///
        ~InsetError();
        ///
-       int Ascent(LyXFont const & font) const;
+       int ascent(BufferView *, LyXFont const & font) const;
        ///
-       int Descent(LyXFont const & font) const;
+       int descent(BufferView *, LyXFont const & font) const;
        ///
-       int Width(LyXFont const & font) const;
+       int width(BufferView *, LyXFont const & font) const;
        ///
-       void Draw(LyXFont font, LyXScreen & scr, int baseline, float & x);
+       void draw(BufferView *, LyXFont const &, int, float &, bool) const;
        ///
-       void Write(FILE * file);
+       void Write(Buffer const *, std::ostream &) const;
        ///
-       void Read(LyXLex & lex);
+       void Read(Buffer const *, LyXLex & lex);
        ///
-       int Latex(FILE * file, signed char fragile);
+       int Latex(Buffer const *, std::ostream &,
+                 bool fragile, bool free_spc) const;
        ///
-       int Latex(string & file, signed char fragile);
+       int Ascii(Buffer const *, std::ostream &) const;
        ///
-       int Linuxdoc(string & file);
+       int Linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int DocBook(string & file);
+       int DocBook(Buffer const *, std::ostream &) const;
        ///
        bool AutoDelete() const;
        /// what appears in the minibuffer when opening
-       char const * EditMessage() const {return _("Opened error");}
+       char const * EditMessage() const;
        ///
-       void Edit(int, int);
+       void Edit(BufferView *, int x, int y, unsigned int button);
        ///
-       unsigned char Editable() const;
+       EDITABLE Editable() const;
        ///
        Inset * Clone() const;
        ///