mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:35:45 +00:00
Registry Explorer (console tool) by Nedko Arnaoudov added to the system utilities subtree.
Also here: http://www.geocities.com/registryexplorer/ svn path=/trunk/; revision=1375
This commit is contained in:
parent
f3632d15b8
commit
ae69a8e1e4
53 changed files with 7055 additions and 2 deletions
33
rosapps/sysutils/regexpl/ShellCommandsLinkedList.h
Normal file
33
rosapps/sysutils/regexpl/ShellCommandsLinkedList.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
// 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_)
|
Loading…
Add table
Add a link
Reference in a new issue