]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_parser.h
Replace LString.h with support/std_string.h,
[features.git] / src / mathed / math_parser.h
index ffd966549c7bdfc87687a7ff901367e7a2e6c185..0d7e49eb1d27dc9ebd58a1cbec6efa58c34963b3 100644 (file)
@@ -1,33 +1,24 @@
 // -*- C++ -*-
-/*
- *  File:        math_parser.h
- *  Purpose:     Declaration of parsing utilities for mathed
- *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
- *  Created:     January 1996
- *  Description: Parse LaTeX2e math mode code.
+/**
+ * \file math_parser.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *  Dependencies: Xlib, XForms
+ * \author Alejandro Aguilar Sierra
+ * \author André Pönitz
  *
- *  Copyright: 1996, Alejandro Aguilar Sierra
- *
- *   Version: 0.8beta.
- *
- *   You are free to use and modify this code under the terms of
- *   the GNU General Public Licence version 2 or later.
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef MATH_PARSER_H
 #define MATH_PARSER_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-#include "LString.h"
-#include "math_defs.h"
+#include "support/std_string.h"
 
 class MathAtom;
 class MathArray;
+class MathGridInset;
 class LyXLex;
 
 
@@ -55,13 +46,8 @@ bool mathed_parse_normal(MathAtom &, string const &);
 bool mathed_parse_normal(MathAtom &, std::istream &);
 /// ... the LyX lexxer
 bool mathed_parse_normal(MathAtom &, LyXLex &);
-
-/// parse a macro definition from a string, enter it into the macro table
-bool mathed_parse_macro(string &, string const &);
-/// ... a stream
-bool mathed_parse_macro(string &, std::istream &);
 /// ... the LyX lexxer
-bool mathed_parse_macro(string &, LyXLex &);
+void mathed_parse_normal(MathGridInset &, string const &);
 
 /// parse a single cell from a string
 void mathed_parse_cell(MathArray & ar, string const &);