ReactOS
0.4.16-dev-136-g52192f1
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
13
class
CShellCommand
14
{
15
public
:
16
CShellCommand
();
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_)
ArgumentParser.h
Console.h
CArgumentParser
Definition:
ArgumentParser.h:11
CConsole
Definition:
Console.h:13
CShellCommand
Definition:
ShellCommand.h:14
CShellCommand::CShellCommand
CShellCommand()
Definition:
ShellCommand.cpp:33
CShellCommand::GetHelpShortDescriptionString
virtual const TCHAR * GetHelpShortDescriptionString()=0
CShellCommand::Match
virtual BOOL Match(const TCHAR *pchCommand)=0
CShellCommand::Execute
virtual int Execute(CConsole &rConsole, CArgumentParser &rArguments)=0
CShellCommand::~CShellCommand
virtual ~CShellCommand()
Definition:
ShellCommand.cpp:38
CShellCommand::GetHelpString
virtual const TCHAR * GetHelpString()=0
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
TCHAR
char TCHAR
Definition:
xmlstorage.h:189
modules
rosapps
applications
sysutils
regexpl
ShellCommand.h
Generated on Tue Oct 15 2024 06:06:20 for ReactOS by
1.9.6