]> git.lyx.org Git - lyx.git/blobdiff - src/TexStream.h
listerrors.lyx : Update a link.
[lyx.git] / src / TexStream.h
index bdd32fc8771041a7e5f463e92cfc9962bc38d375..7c4bdd9d10a8df36a94b272063a60d8cad584edc 100644 (file)
@@ -1,21 +1,29 @@
-#ifndef LATEXSTREAM_H
-#define LATEXSTREAM_H
+#ifndef TEXSTREAM_H
+#define TEXSTREAM_H
+
+#include "support/docstring.h"
+
+#include "TexRow.h"
 
 #include <iostream>
 #include <streambuf>
 
 namespace lyx {
 
-class LaTeXStreamBuffer;
+class TexStreamBuffer;
+class TexRow;
 
-class LaTeXStream : public std::ostream
+typedef std::basic_streambuf<char_type> TexStreamBase;
+
+class TexStream : public std::basic_ostream<char_type>
 {
 public:
-  LaTeXStream(std::streambuf * sbuf);
-  ~LaTeXStream();
+       TexStream(TexStreamBase * sbuf, TexRow * texrow);
+       ~TexStream();
        int line() const;
+
 private:
-       LaTeXStreamBuffer * sbuf_;
+       TexStreamBuffer * sbuf_;
 };
 
 } // namespace lyx