]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseterror.h
made insetlatex.[Ch] not used, white-space changes, some enum changes becuse of ridan...
[lyx.git] / src / insets / inseterror.h
index caa539d4dedf960286dd9767b8c7bd75b08ecd58..346e11d042d6052cc991b129d7684d49ff30bb89 100644 (file)
@@ -1,15 +1,15 @@
 // -*- C++ -*-
 /* This file is part of*
- * ======================================================
+ * ====================================================== 
  *
  *           LyX, The Document Processor
  *      
  *         Copyright (C) 1995 Matthias Ettrich
  *
- *======================================================*/
+ * ====================================================== */
 
-#ifndef _INSET_ERROR_H
-#define _INSET_ERROR_H
+#ifndef INSET_ERROR_H
+#define INSET_ERROR_H
 
 #ifdef __GNUG__
 #pragma interface
 class InsetError: public Inset {
 public:
        ///
-       InsetError(LString const & string);
+       InsetError(string const & string);
        ///
        InsetError();
        ///
        ~InsetError();
        ///
-       int Ascent(LyXFont const &font) const;
+       int Ascent(LyXFont const & font) const;
        ///
-       int Descent(LyXFont const &font) const;
+       int Descent(LyXFont const & font) const;
        ///
-       int Width(LyXFont const &font) const;
+       int Width(LyXFont const & font) const;
        ///
-       void Draw(LyXFont font, LyXScreen &scr, int baseline, float &x);
+       void Draw(LyXFont font, LyXScreen & scr, int baseline, float & x);
        ///
-       void Write(FILE *file);
+       void Write(FILE * file);
        ///
-       void Read(LyXLex &lex);
+       void Read(LyXLex & lex);
        ///
-       int Latex(FILE *file, signed char fragile);
+       int Latex(FILE * file, signed char fragile);
        ///
-       int Latex(LString &file, signed char fragile);
+       int Latex(string & file, signed char fragile);
        ///
-       int Linuxdoc(LString &file);
+       int Linuxdoc(string & file);
        ///
-       int DocBook(LString &file);
+       int DocBook(string & file);
        ///
        bool AutoDelete() const;
        /// what appears in the minibuffer when opening
-       char const* EditMessage() {return _("Opened error");}
+       char const * EditMessage() {return _("Opened error");}
        ///
        void Edit(int, int);
        ///
        unsigned char Editable() const;
        ///
-       Inset* Clone();
+       Inset * Clone();
        ///
        Inset::Code LyxCode() const { return Inset::NO_CODE; }
        /// We don't want "begin" and "end inset" in lyx-file
        bool DirectWrite() const { return true; };
-private:
        ///
-       LString contents;
+       static void CloseErrorCB(FL_OBJECT *, long data);
+private:
        ///
-       FL_FORM *form;
+       string contents;
        ///
-       FL_OBJECT *strobj;
+       FL_FORM * form;
        ///
-       static void CloseErrorCB(FL_OBJECT *, long data);
+       FL_OBJECT * strobj;
 };
 #endif