ReactOS  0.4.14-dev-599-g2d4d3f5
ShellCommandsLinkedList.h
Go to the documentation of this file.
1 //
2 // ShellCommandsLinkedList.h: interface for the CShellCommandsLinkedList class.
3 //
5 
6 #if !defined(SHELLCOMMANDSLINKEDLIST_H__D29C1198_5942_11D4_A037_C5AC8D00940F__INCLUDED_)
7 #define SHELLCOMMANDSLINKEDLIST_H__D29C1198_5942_11D4_A037_C5AC8D00940F__INCLUDED_
8 
9 #include "ShellCommand.h"
10 #include "Console.h"
11 
12 #define POSITION int *
13 
15 {
16 public:
18  virtual ~CShellCommandsLinkedList();
19  void AddCommand(CShellCommand *pCommand);
20  int Execute(CArgumentParser& rArgumentParser, int& nReturnValue);
21  CShellCommand * Match(const TCHAR * pchCommand);
24 private:
25  struct SNode
26  {
27  SNode() {m_pNext = NULL;};
30  } *m_pRoot;
32 };
33 
34 #endif // !defined(SHELLCOMMANDSLINKEDLIST_H__D29C1198_5942_11D4_A037_C5AC8D00940F__INCLUDED_)
int Execute(CArgumentParser &rArgumentParser, int &nReturnValue)
CShellCommandsLinkedList(CConsole &rConsole)
smooth NULL
Definition: ftsmooth.c:416
char TCHAR
Definition: xmlstorage.h:189
CShellCommand * GetNextCommand(POSITION &rPos)
struct CShellCommandsLinkedList::SNode * m_pRoot
CShellCommand * Match(const TCHAR *pchCommand)
void AddCommand(CShellCommand *pCommand)