6 #ifndef _INC_cCommandLog_H
7 #define _INC_cCommandLog_H
12 #include "../Input/cInputBase.h"
13 #include "../WinAPI/WinTypes.h"
46 return m_aCmdHistory.
GetAt(i);
52 m_nCurCommandIndex = 0;
55 void AddCmd(
const GChar_t* pszStr);
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cCommandLog.h:21
cArrayString< GChar_t > m_aCmdHistory
Definition: cCommandLog.h:30
cString GetCmdAt(ITERATE_t i) const
Definition: cCommandLog.h:43
UNITTEST_FRIEND(cCommandLog)
cString m_sCmd
The current working command line. AddConsoleKey.
Definition: cCommandLog.h:27
bool m_bCmdComplete
Definition: cCommandLog.h:28
void RemoveAllCmds()
Definition: cCommandLog.h:48
ITERATE_t m_iMaxCommandQty
arbitrary limit to store this many.
Definition: cCommandLog.h:29
void RemoveAll()
Clean up.
Definition: cArray.h:230
const TYPE & GetAt(ITERATE_t nIndex) const
Definition: cArray.h:162
ITERATE_t GetSize() const noexcept
Definition: cArray.h:137
Definition: cStream.h:126
UNITTEST2_PREDEF(cQuadtree)
int ITERATE_t
like size_t but signed
Definition: Index.h:28
char GChar_t
My version of TCHAR, _TCHAR.
Definition: StrConst.h:26