77ec7ba2f1d4ec91309a16eefd968cd2d712951d
[reactos.git] / rosapps / applications / sysutils / regexpl / ShellCommand.h
1 /* $Id$ */
2
3 // ShellCommand.h: interface for the CShellCommand class.
4 //
5 //////////////////////////////////////////////////////////////////////
6
7 #if !defined(SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_)
8 #define SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_
9
10 #include "Console.h"
11 #include "ArgumentParser.h"
12
13 // this class provides common interface to shell commands
14 class CShellCommand
15 {
16 public:
17 CShellCommand();
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;
23 };
24
25 #endif // !defined(SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_)