// ostrwnd.h
// Assumes #include "stdhdr.h" is in calling file
#if !defined (_OSTRWND_H_)
#define _OSTRWND_H_
#include "CStrWnd.h"
class ostreamWnd : public CStrWnd
{
public:
ostreamWnd (const char * window_name);
afx_msg void OnClose ()
{;}
// Do nothing (this window should not be closed)
void SetBufferLines (const int new_size)
{max_lines_in_buffer = new_size;}
void PutText (const char * buf, int no_of_chars);
// Enter a line of text no_of_chars long
// into the text_buffer
DECLARE_MESSAGE_MAP ();
private:
int max_lines_in_buffer;
};
#endif
// End of File