2022-04-14 14:46:57 +00:00
|
|
|
#ifndef OPENMW_ESMTOOL_ARGUMENTS_H
|
|
|
|
#define OPENMW_ESMTOOL_ARGUMENTS_H
|
|
|
|
|
2022-06-19 11:28:33 +00:00
|
|
|
#include <filesystem>
|
2022-04-14 14:46:57 +00:00
|
|
|
#include <optional>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include <components/esm/format.hpp>
|
|
|
|
|
|
|
|
namespace EsmTool
|
|
|
|
{
|
|
|
|
struct Arguments
|
|
|
|
{
|
|
|
|
std::optional<ESM::Format> mRawFormat;
|
2022-05-01 12:46:47 +00:00
|
|
|
bool quiet_given = false;
|
|
|
|
bool loadcells_given = false;
|
|
|
|
bool plain_given = false;
|
2022-04-14 14:46:57 +00:00
|
|
|
|
|
|
|
std::string mode;
|
|
|
|
std::string encoding;
|
2022-06-19 11:28:33 +00:00
|
|
|
std::filesystem::path filename;
|
|
|
|
std::filesystem::path outname;
|
2022-04-14 14:46:57 +00:00
|
|
|
|
|
|
|
std::vector<std::string> types;
|
|
|
|
std::string name;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|