2021-09-28 11:15:54 +00:00
|
|
|
#pragma once
|
|
|
|
#include <tc/types.h>
|
2021-10-01 09:39:34 +00:00
|
|
|
#include <tc/Exception.h>
|
2021-09-28 11:15:54 +00:00
|
|
|
#include <tc/Optional.h>
|
|
|
|
#include <tc/io.h>
|
|
|
|
#include <tc/io/IOUtil.h>
|
|
|
|
#include <tc/cli.h>
|
|
|
|
#include <fmt/core.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace nstool {
|
|
|
|
|
|
|
|
struct CliOutputMode
|
|
|
|
{
|
|
|
|
bool show_basic_info;
|
|
|
|
bool show_extended_info;
|
|
|
|
bool show_layout;
|
|
|
|
bool show_keydata;
|
|
|
|
|
|
|
|
CliOutputMode() : show_basic_info(false), show_extended_info(false), show_layout(false), show_keydata(false)
|
|
|
|
{}
|
|
|
|
|
|
|
|
CliOutputMode(bool show_basic_info, bool show_extended_info, bool show_layout, bool show_keydata) : show_basic_info(show_basic_info), show_extended_info(show_extended_info), show_layout(show_layout), show_keydata(show_keydata)
|
|
|
|
{}
|
|
|
|
};
|
|
|
|
|
2021-10-08 09:56:40 +00:00
|
|
|
struct ExtractJob {
|
|
|
|
tc::io::Path virtual_path;
|
|
|
|
tc::io::Path extract_path;
|
|
|
|
};
|
|
|
|
|
2021-09-28 11:15:54 +00:00
|
|
|
}
|