Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.

This commit is contained in:
Colin Finck 2017-10-03 07:45:34 +00:00
parent b94e2d8ca0
commit c2c66aff7d
24198 changed files with 0 additions and 37285 deletions

View file

@ -0,0 +1,34 @@
//
// ShellCommandsLinkedList.h: interface for the CShellCommandsLinkedList class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(SHELLCOMMANDSLINKEDLIST_H__D29C1198_5942_11D4_A037_C5AC8D00940F__INCLUDED_)
#define SHELLCOMMANDSLINKEDLIST_H__D29C1198_5942_11D4_A037_C5AC8D00940F__INCLUDED_
#include "ShellCommand.h"
#include "Console.h"
#define POSITION int *
class CShellCommandsLinkedList
{
public:
CShellCommandsLinkedList(CConsole& rConsole);
virtual ~CShellCommandsLinkedList();
void AddCommand(CShellCommand *pCommand);
int Execute(CArgumentParser& rArgumentParser, int& nReturnValue);
CShellCommand * Match(const TCHAR * pchCommand);
POSITION GetFirstCommandPosition();
CShellCommand * GetNextCommand(POSITION& rPos);
private:
struct SNode
{
SNode() {m_pNext = NULL;};
CShellCommand *m_pData;
SNode *m_pNext;
} *m_pRoot;
CConsole &m_rConsole;
};
#endif // !defined(SHELLCOMMANDSLINKEDLIST_H__D29C1198_5942_11D4_A037_C5AC8D00940F__INCLUDED_)