]> git.lyx.org Git - lyx.git/blobdiff - src/sgml.h
ws changes only
[lyx.git] / src / sgml.h
index 2b00726d5332402564d2e64d0e69359981e91071..73b23346c1b74b70b9d8807f794947e4ba320c49 100644 (file)
@@ -1,19 +1,22 @@
+// -*- C++ -*-
 /**
  * \file sgml.h
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author José Matos
- * \author John Levon <levon@movementarian.org>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef SGML_H
 #define SGML_H
 
-#include "LString.h"
+#include "support/types.h"
 
-#include <algorithm>
 #include <iosfwd>
+#include <utility>
 
 namespace sgml {
 
@@ -22,15 +25,15 @@ namespace sgml {
  * to an SGML entity. Returns true
  * if it was a whitespace character.
  */
-std::pair<bool, string> escapeChar(char c);
+std::pair<bool, std::string> escapeChar(char c);
 
 /// FIXME
-int openTag(std::ostream & os, Paragraph::depth_type depth,
-           bool mixcont, string const & latexname);
+int openTag(std::ostream & os, lyx::depth_type depth,
+           bool mixcont, std::string const & latexname);
 
 /// FIXME
-int closeTag(std::ostream & os, Paragraph::depth_type depth,
-           bool mixcont, string const & latexname);
+int closeTag(std::ostream & os, lyx::depth_type depth,
+           bool mixcont, std::string const & latexname);
 }
 
 #endif // SGML_H