3 // ShellCommand.h: interface for the CShellCommand class.
5 //////////////////////////////////////////////////////////////////////
7 #if !defined(SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_)
8 #define SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_
11 #include "ArgumentParser.h"
13 // this class provides common interface to shell commands
18 virtual ~CShellCommand();
19 virtual BOOL
Match(const TCHAR
*pchCommand
) = 0;
20 virtual int Execute(CConsole
&rConsole
, CArgumentParser
& rArguments
) = 0;
21 virtual const TCHAR
* GetHelpString() = 0;
22 virtual const TCHAR
* GetHelpShortDescriptionString() = 0;
25 #endif // !defined(SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_)