2 // ShellCommand.h: interface for the CShellCommand class.
4 //////////////////////////////////////////////////////////////////////
6 #if !defined(SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_)
7 #define SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_
10 #include "ArgumentParser.h"
12 // this class provides common interface to shell commands
17 virtual ~CShellCommand();
18 virtual BOOL
Match(const TCHAR
*pchCommand
) = 0;
19 virtual int Execute(CConsole
&rConsole
, CArgumentParser
& rArguments
) = 0;
20 virtual const TCHAR
* GetHelpString() = 0;
21 virtual const TCHAR
* GetHelpShortDescriptionString() = 0;
24 #endif // !defined(SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_)