ReactOS  0.4.15-dev-1070-ge1a01de
TextHistory.h
Go to the documentation of this file.
1 //
2 // TextHistory.h: interface for the CTextHistory class.
3 //
5 
6 #if !defined(TEXTHISTORY_H__AD9C6555_1D97_11D4_9F58_204C4F4F5020__INCLUDED_)
7 #define TEXTHISTORY_H__AD9C6555_1D97_11D4_9F58_204C4F4F5020__INCLUDED_
8 
10 {
11 public:
12  CTextHistory();
13  virtual ~CTextHistory();
14  BOOL Init(DWORD dwMaxHistoryLineSize, DWORD dwMaxHistoryLines);
15  const TCHAR * GetHistoryLine(DWORD dwIndex);
16  void AddHistoryLine(const TCHAR *pchLine);
17 private:
24 };
25 
26 #endif // !defined(TEXTHISTORY_H__AD9C6555_1D97_11D4_9F58_204C4F4F5020__INCLUDED_)
virtual ~CTextHistory()
Definition: TextHistory.cpp:39
unsigned int BOOL
Definition: ntddk_ex.h:94
const TCHAR * GetHistoryLine(DWORD dwIndex)
Definition: TextHistory.cpp:83
char TCHAR
Definition: xmlstorage.h:189
TCHAR * m_pHistoryBuffer
Definition: TextHistory.h:18
void AddHistoryLine(const TCHAR *pchLine)
Definition: TextHistory.cpp:62
DWORD m_dwMaxHistoryLines
Definition: TextHistory.h:19
DWORD m_dwLastHistoryIndex
Definition: TextHistory.h:22
BOOL Init(DWORD dwMaxHistoryLineSize, DWORD dwMaxHistoryLines)
Definition: TextHistory.cpp:44
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD m_dwHisoryFull
Definition: TextHistory.h:23
DWORD m_dwMaxHistoryLineSize
Definition: TextHistory.h:20
DWORD m_dwFirstHistoryIndex
Definition: TextHistory.h:21