reactos/rosapps/applications/sysutils/regexpl/TextHistory.h
Hermès Bélusca-Maïto 66a44527fd Remove the unneeded $Id$ blabla from the source code.
svn path=/trunk/; revision=58493
2013-03-14 01:14:18 +00:00

27 lines
773 B
C++

//
// 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_)