ReactOS  0.4.14-dev-599-g2d4d3f5
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 {
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_)
virtual BOOL Match(const TCHAR *pchCommand)=0
unsigned int BOOL
Definition: ntddk_ex.h:94
virtual const TCHAR * GetHelpShortDescriptionString()=0
virtual ~CShellCommand()
char TCHAR
Definition: xmlstorage.h:189
virtual int Execute(CConsole &rConsole, CArgumentParser &rArguments)=0
virtual const TCHAR * GetHelpString()=0