3 // ShellCommandsLinkedList.h: interface for the CShellCommandsLinkedList class.
5 //////////////////////////////////////////////////////////////////////
7 #if !defined(SHELLCOMMANDSLINKEDLIST_H__D29C1198_5942_11D4_A037_C5AC8D00940F__INCLUDED_)
8 #define SHELLCOMMANDSLINKEDLIST_H__D29C1198_5942_11D4_A037_C5AC8D00940F__INCLUDED_
10 #include "ShellCommand.h"
13 #define POSITION int *
15 class CShellCommandsLinkedList
18 CShellCommandsLinkedList(CConsole
& rConsole
);
19 virtual ~CShellCommandsLinkedList();
20 void AddCommand(CShellCommand
*pCommand
);
21 int Execute(CArgumentParser
& rArgumentParser
, int& nReturnValue
);
22 CShellCommand
* Match(const TCHAR
* pchCommand
);
23 POSITION
GetFirstCommandPosition();
24 CShellCommand
* GetNextCommand(POSITION
& rPos
);
28 SNode() {m_pNext
= NULL
;};
29 CShellCommand
*m_pData
;
35 #endif // !defined(SHELLCOMMANDSLINKEDLIST_H__D29C1198_5942_11D4_A037_C5AC8D00940F__INCLUDED_)