]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetinfo.h
pos=string::npos for regex not found, use handcoded transform in lstring.C, fix the...
[lyx.git] / src / insets / insetinfo.h
index b2f3f5b57b5f9fce10fb6bfa5992c56c7669124c..b4f9fe9dbb5a1ff893d695577ff2d9654508f9b9 100644 (file)
@@ -28,7 +28,7 @@
   in a yellow box. Currently, the Read-function is a terrible hack. 
   Some day in the distant future, this will hopefully be obsoleted by 
   a true comment-environment. */
-class InsetInfo: public Inset {
+class InsetInfo : public Inset {
 public:
        ///
        InsetInfo();
@@ -45,11 +45,11 @@ public:
        ///
        void Draw(LyXFont font, LyXScreen & scr, int baseline, float & x);
        ///
-       void Write(FILE * file);
+       void Write(ostream &);
        ///
        void Read(LyXLex & lex);
        ///
-       int Latex(FILE * file, signed char fragile);
+       int Latex(ostream &, signed char fragile);
        ///
        int Latex(string & file, signed char fragile);
        ///
@@ -57,7 +57,7 @@ public:
        ///
        int DocBook(string & file);
        /// what appears in the minibuffer when opening
-       char const * EditMessage() {return "Opened note";}
+       char const * EditMessage() const {return _("Opened note");}
        ///
        void Edit(int, int);
        ///
@@ -65,7 +65,7 @@ public:
        ///
        Inset::Code LyxCode() const;
        ///
-       Inset * Clone();
+       Inset * Clone() const;
        ///
        static void CloseInfoCB(FL_OBJECT *, long data);
 private: