DragonNest/Server/ServiceManagerEx/Commander.h
Cussrro 47f7895977 Revert "修复编码问题"
This reverts commit 9e69c01767.
2024-12-21 10:04:04 +08:00

28 lines
405 B
C++

#pragma once
class CCommander : public CEdit
{
DECLARE_DYNAMIC(CCommander)
public:
CCommander();
virtual ~CCommander();
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
public:
void SetCommand(const wstring& command);
void OnCommand();
void OnPrevCommand();
void OnNextCommand();
private:
vector<wstring> history;
size_t index;
};