You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Tools/PythonBindingsExample/source/ApplicationParameters.h

35 lines
710 B
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <AzCore/std/containers/vector.h>
#include <AzCore/std/string/string.h>
namespace AZ
{
class CommandLine;
}
namespace PythonBindingsExample
{
struct ApplicationParameters final
{
bool Parse(const AZ::CommandLine* commandLine);
// the arguments
using StringList = AZStd::vector<AZStd::string>;
bool m_verbose = false;
AZStd::string m_pythonFilename;
StringList m_pythonArgs;
AZStd::string m_pythonStatement;
bool m_interactiveMode = false;
protected:
void ShowHelp();
};
}