mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
DolphinTool: Ditch OOP design
This commit is contained in:
parent
98b5d72ef1
commit
25c020cbe2
11 changed files with 117 additions and 169 deletions
|
@ -3,25 +3,10 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "DiscIO/Blob.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);
|
||||
};
|
||||
|
||||
int ConvertCommand(const std::vector<std::string>& args);
|
||||
} // namespace DolphinTool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue