shellcommand.h

来自「ReactOS是一些高手根据Windows XP的内核编写出的类XP。内核实现机」· C头文件 代码 · 共 26 行

H
26
字号
/* $Id: ShellCommand.h 15091 2005-05-07 21:24:31Z sedwards $ */

// ShellCommand.h: interface for the CShellCommand class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_)
#define SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_

#include "Console.h"
#include "ArgumentParser.h"

// this class provides common interface to shell commands
class CShellCommand
{
public:
	CShellCommand();
	virtual ~CShellCommand();
	virtual BOOL Match(const TCHAR *pchCommand) = 0;
	virtual int Execute(CConsole &rConsole, CArgumentParser& rArguments) = 0;
	virtual const TCHAR * GetHelpString() = 0;
	virtual const TCHAR * GetHelpShortDescriptionString() = 0;
};

#endif // !defined(SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?