mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:42:59 +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
55
rosapps/sysutils/regexpl/ShellCommandExit.cpp
Normal file
55
rosapps/sysutils/regexpl/ShellCommandExit.cpp
Normal file
|
@ -0,0 +1,55 @@
|
|||
/* $Id: ShellCommandExit.cpp,v 1.1 2000/10/04 21:04:31 ea Exp $
|
||||
*
|
||||
* regexpl - Console Registry Explorer
|
||||
*
|
||||
* Copyright (c) 1999-2000 Nedko Arnaoudov <nedkohome@atia.com>
|
||||
*
|
||||
* License: GNU GPL
|
||||
*
|
||||
*/
|
||||
|
||||
// ShellCommandExit.cpp: implementation of the CShellCommandExit class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "ph.h"
|
||||
#include "ShellCommandExit.h"
|
||||
#include "RegistryExplorer.h"
|
||||
|
||||
#define EXIT_CMD _T("EXIT")
|
||||
#define EXIT_CMD_SHORT_DESC EXIT_CMD _T(" command termiantes current instance of Registry Explorer.\n")
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// Construction/Destruction
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
CShellCommandExit::CShellCommandExit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
CShellCommandExit::~CShellCommandExit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
BOOL CShellCommandExit::Match(const TCHAR *pchCommand)
|
||||
{
|
||||
return _tcsicmp(pchCommand,EXIT_CMD) == 0;
|
||||
}
|
||||
|
||||
int CShellCommandExit::Execute(CConsole &rConsole, CArgumentParser& rArguments)
|
||||
{
|
||||
rConsole.Write(GOODBYE_MSG);
|
||||
return 0;
|
||||
}
|
||||
|
||||
const TCHAR * CShellCommandExit::GetHelpString()
|
||||
{
|
||||
return EXIT_CMD_SHORT_DESC _T("Syntax: ") EXIT_CMD _T("\n");
|
||||
}
|
||||
|
||||
const TCHAR * CShellCommandExit::GetHelpShortDescriptionString()
|
||||
{
|
||||
return EXIT_CMD_SHORT_DESC;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue