]> git.lyx.org Git - lyx.git/blob - src/TexStream.h
Remove all messages to user related to assertions. We'll just use
[lyx.git] / src / TexStream.h
1 #ifndef TEXSTREAM_H
2 #define TEXSTREAM_H
3
4 #include "support/docstring.h"
5
6 #include "TexRow.h"
7
8 #include <iostream>
9 #include <streambuf>
10
11 namespace lyx {
12
13 class TexStreamBuffer;
14 class TexRow;
15
16 typedef std::basic_streambuf<char_type> TexStreamBase;
17
18 class TexStream : public std::basic_ostream<char_type>
19 {
20 public:
21         TexStream(TexStreamBase * sbuf, TexRow * texrow);
22         ~TexStream();
23         int line() const;
24
25 private:
26         TexStreamBuffer * sbuf_;
27 };
28
29 } // namespace lyx
30
31 #endif