SPEC-7531 Change Code/CryEngine to Code/Legacy (#1634)
* git mv Code\CryEngine Code\Legacy * redirecting CMakeLists.txt * fixing uic warning * Some more CryEngine mentions * validation scripts Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
// Description : Implements the command line interface ICmdLine.
|
||||
|
||||
#ifndef CRYINCLUDE_CRYSYSTEM_CMDLINE_H
|
||||
#define CRYINCLUDE_CRYSYSTEM_CMDLINE_H
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <ICmdLine.h>
|
||||
#include "CmdLineArg.h"
|
||||
|
||||
|
||||
class CCmdLine
|
||||
: public ICmdLine
|
||||
{
|
||||
public:
|
||||
CCmdLine(const char* commandLine);
|
||||
virtual ~CCmdLine();
|
||||
|
||||
virtual const ICmdLineArg* GetArg(int n) const;
|
||||
virtual int GetArgCount() const;
|
||||
virtual const ICmdLineArg* FindArg(const ECmdLineArgType ArgType, const char* name, bool caseSensitive = false) const;
|
||||
virtual const char* GetCommandLine() const { return m_sCmdLine; };
|
||||
|
||||
private:
|
||||
void PushCommand(const string& sCommand, const string& sParameter);
|
||||
string Next(char*& str);
|
||||
|
||||
string m_sCmdLine;
|
||||
std::vector<CCmdLineArg> m_args;
|
||||
};
|
||||
|
||||
|
||||
#endif // CRYINCLUDE_CRYSYSTEM_CMDLINE_H
|
||||
Reference in New Issue
Block a user