]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulamacro.h
my changes during the holidyas...i expect some compilers to have some problems, but...
[lyx.git] / src / mathed / formulamacro.h
index 3763752daebfb4e1f772f78ca02191ccbd309604..486b16ae068fa7a5ae20dc1987547b89158dce8c 100644 (file)
@@ -46,9 +46,9 @@ public:
        ///
        void Read(LyXLex & lex);
         ///
-       void Write(FILE * file);
+       void Write(ostream & os);
        ///
-       int Latex(FILE * file, signed char fragile);
+       int Latex(ostream & os, signed char fragile);
        ///
        int Latex(string & file, signed char fragile);
        ///
@@ -59,23 +59,23 @@ public:
        Inset * Clone() const;
 
        /// what appears in the minibuffer when opening
-       char const * EditMessage() {return "Math macro editor mode";}
+       char const * EditMessage() const {return _("Math macro editor mode");}
        ///
        void Edit(int x, int y);
        ///
        void InsetUnlock();
-   
+       ///
        bool LocalDispatch(int, char const *);
-   
 protected:
+       ///
        void UpdateLocal();
 private:
+       ///
         bool opened;
-        string name; 
-        class MathMacroTemplate * tmacro;
-
+       ///
+        string name;
+       ///
+        MathMacroTemplate * tmacro;
 };
 
-
 #endif
-