* de.po: sync with branch.
[lyx.git] / src / TexStream.h
blob7c4bdd9d10a8df36a94b272063a60d8cad584edc
1 #ifndef TEXSTREAM_H
2 #define TEXSTREAM_H
4 #include "support/docstring.h"
6 #include "TexRow.h"
8 #include <iostream>
9 #include <streambuf>
11 namespace lyx {
13 class TexStreamBuffer;
14 class TexRow;
16 typedef std::basic_streambuf<char_type> TexStreamBase;
18 class TexStream : public std::basic_ostream<char_type>
20 public:
21 TexStream(TexStreamBase * sbuf, TexRow * texrow);
22 ~TexStream();
23 int line() const;
25 private:
26 TexStreamBuffer * sbuf_;
29 } // namespace lyx
31 #endif