mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-12 21:31:39 +00:00
DolphinTool: CLI utility interface and disc image tools
This commit is contained in:
parent
1e212d6212
commit
1aa8a4d46f
19 changed files with 968 additions and 26 deletions
30
Source/Core/DolphinTool/ConvertCommand.h
Normal file
30
Source/Core/DolphinTool/ConvertCommand.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
// Copyright 2021 Dolphin Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
|
||||
#include "DiscIO/Blob.h"
|
||||
#include "DiscIO/DiscUtils.h"
|
||||
#include "DiscIO/ScrubbedBlob.h"
|
||||
#include "DiscIO/Volume.h"
|
||||
#include "DiscIO/VolumeDisc.h"
|
||||
#include "DiscIO/WIABlob.h"
|
||||
#include "DolphinTool/Command.h"
|
||||
|
||||
namespace DolphinTool
|
||||
{
|
||||
class ConvertCommand final : public Command
|
||||
{
|
||||
public:
|
||||
int Main(const std::vector<std::string>& args) override;
|
||||
|
||||
private:
|
||||
std::optional<DiscIO::WIARVZCompressionType>
|
||||
ParseCompressionTypeString(const std::string compression_str);
|
||||
std::optional<DiscIO::BlobType> ParseFormatString(const std::string format_str);
|
||||
};
|
||||
|
||||
} // namespace DolphinTool
|
Loading…
Add table
Add a link
Reference in a new issue