X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTexStream.h;h=7c4bdd9d10a8df36a94b272063a60d8cad584edc;hb=4d5bef1bdcbe7a20d67613a793acb89f0e583bf6;hp=bdd32fc8771041a7e5f463e92cfc9962bc38d375;hpb=1a0f0fa18654603668668ce58f194648907bbaf1;p=lyx.git diff --git a/src/TexStream.h b/src/TexStream.h index bdd32fc877..7c4bdd9d10 100644 --- a/src/TexStream.h +++ b/src/TexStream.h @@ -1,21 +1,29 @@ -#ifndef LATEXSTREAM_H -#define LATEXSTREAM_H +#ifndef TEXSTREAM_H +#define TEXSTREAM_H + +#include "support/docstring.h" + +#include "TexRow.h" #include #include namespace lyx { -class LaTeXStreamBuffer; +class TexStreamBuffer; +class TexRow; -class LaTeXStream : public std::ostream +typedef std::basic_streambuf TexStreamBase; + +class TexStream : public std::basic_ostream { public: - LaTeXStream(std::streambuf * sbuf); - ~LaTeXStream(); + TexStream(TexStreamBase * sbuf, TexRow * texrow); + ~TexStream(); int line() const; + private: - LaTeXStreamBuffer * sbuf_; + TexStreamBuffer * sbuf_; }; } // namespace lyx