mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DolphinTool: Ditch OOP design
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user