ReactOS 0.4.15-dev-5865-g640e228
ShellCommand.h
Go to the documentation of this file.
1//
2// ShellCommand.h: interface for the CShellCommand class.
3//
5
6#if !defined(SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_)
7#define SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_
8
9#include "Console.h"
10#include "ArgumentParser.h"
11
12// this class provides common interface to shell commands
14{
15public:
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;
22};
23
24#endif // !defined(SHELLCOMMAND_H__D29C1193_5942_11D4_A037_C5AC8D00940F__INCLUDED_)
virtual const TCHAR * GetHelpShortDescriptionString()=0
virtual BOOL Match(const TCHAR *pchCommand)=0
virtual int Execute(CConsole &rConsole, CArgumentParser &rArguments)=0
virtual ~CShellCommand()
virtual const TCHAR * GetHelpString()=0
unsigned int BOOL
Definition: ntddk_ex.h:94
char TCHAR
Definition: xmlstorage.h:189