lyx_mirror/src/TexStream.h
Alfredo Braunstein da48080cc7 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19584 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-15 06:53:25 +00:00

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