mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
da48080cc7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19584 a592a061-630c-0410-9148-cb99ea01b6c8
32 lines
464 B
C++
32 lines
464 B
C++
#ifndef TEXSTREAM_H
|
|
#define TEXSTREAM_H
|
|
|
|
#include "support/docstring.h"
|
|
|
|
#include "TexRow.h"
|
|
|
|
#include <iostream>
|
|
#include <streambuf>
|
|
|
|
namespace lyx {
|
|
|
|
class TexStreamBuffer;
|
|
class TexRow;
|
|
|
|
typedef std::basic_streambuf<char_type> TexStreamBase;
|
|
|
|
class TexStream : public std::basic_ostream<char_type>
|
|
{
|
|
public:
|
|
TexStream(TexStreamBase * sbuf, TexRow * texrow);
|
|
~TexStream();
|
|
int line() const;
|
|
|
|
private:
|
|
TexStreamBuffer * sbuf_;
|
|
};
|
|
|
|
} // namespace lyx
|
|
|
|
#endif
|