reactos/rosapps/applications/sysutils/regexpl/ShellCommand.h
Hermès Bélusca-Maïto 66a44527fd Remove the unneeded $Id$ blabla from the source code.
svn path=/trunk/; revision=58493
2013-03-14 01:14:18 +00:00

24 lines
787 B
C++

//
// 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_)