mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
bf1b057da3
svn path=/trunk/; revision=1507
27 lines
839 B
C++
27 lines
839 B
C++
/* $Id: TextHistory.h,v 1.2 2001/01/13 23:55:37 narnaoud Exp $ */
|
|
|
|
// TextHistory.h: interface for the CTextHistory class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(TEXTHISTORY_H__AD9C6555_1D97_11D4_9F58_204C4F4F5020__INCLUDED_)
|
|
#define TEXTHISTORY_H__AD9C6555_1D97_11D4_9F58_204C4F4F5020__INCLUDED_
|
|
|
|
class CTextHistory
|
|
{
|
|
public:
|
|
CTextHistory();
|
|
virtual ~CTextHistory();
|
|
BOOL Init(DWORD dwMaxHistoryLineSize, DWORD dwMaxHistoryLines);
|
|
const TCHAR * GetHistoryLine(DWORD dwIndex);
|
|
void AddHistoryLine(const TCHAR *pchLine);
|
|
private:
|
|
TCHAR *m_pHistoryBuffer;
|
|
DWORD m_dwMaxHistoryLines;
|
|
DWORD m_dwMaxHistoryLineSize;
|
|
DWORD m_dwFirstHistoryIndex;
|
|
DWORD m_dwLastHistoryIndex;
|
|
DWORD m_dwHisoryFull;
|
|
};
|
|
|
|
#endif // !defined(TEXTHISTORY_H__AD9C6555_1D97_11D4_9F58_204C4F4F5020__INCLUDED_)
|