diff --git a/src/support/LaTeXStream.h b/src/support/LaTeXStream.h new file mode 100644 index 0000000000..bdd32fc877 --- /dev/null +++ b/src/support/LaTeXStream.h @@ -0,0 +1,23 @@ +#ifndef LATEXSTREAM_H +#define LATEXSTREAM_H + +#include +#include + +namespace lyx { + +class LaTeXStreamBuffer; + +class LaTeXStream : public std::ostream +{ +public: + LaTeXStream(std::streambuf * sbuf); + ~LaTeXStream(); + int line() const; +private: + LaTeXStreamBuffer * sbuf_; +}; + +} // namespace lyx + +#endif