mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 08:05:45 +00:00
45 lines
907 B
C++
45 lines
907 B
C++
#pragma once
|
|
#include "Utils/Arguments/ArgumentParser.h"
|
|
|
|
#include <vector>
|
|
|
|
class ZoneCodeGeneratorArguments
|
|
{
|
|
ArgumentParser m_argument_parser;
|
|
|
|
/**
|
|
* \brief Prints a command line usage help text for the Unlinker tool to stdout.
|
|
*/
|
|
static void PrintUsage();
|
|
|
|
public:
|
|
enum class ProcessingTask
|
|
{
|
|
GENERATE_CODE,
|
|
PRINT_DATA
|
|
};
|
|
|
|
class GenerationTask
|
|
{
|
|
public:
|
|
std::string m_asset_name;
|
|
std::string m_preset_name;
|
|
|
|
GenerationTask();
|
|
GenerationTask(std::string assetName, std::string presetName);
|
|
};
|
|
|
|
bool m_verbose;
|
|
|
|
std::vector<std::string> m_header_paths;
|
|
std::vector<std::string> m_command_paths;
|
|
std::string m_output_directory;
|
|
|
|
ProcessingTask m_task;
|
|
std::vector<GenerationTask> m_generation_tasks;
|
|
|
|
ZoneCodeGeneratorArguments();
|
|
|
|
bool Parse(int argc, const char** argv);
|
|
};
|