mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +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,26 +3,10 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "DiscIO/Volume.h"
|
||||
#include "DiscIO/VolumeDisc.h"
|
||||
#include "DiscIO/VolumeVerifier.h"
|
||||
#include "DolphinTool/Command.h"
|
||||
|
||||
namespace DolphinTool
|
||||
{
|
||||
class VerifyCommand final : public Command
|
||||
{
|
||||
public:
|
||||
int Main(const std::vector<std::string>& args) override;
|
||||
|
||||
private:
|
||||
void PrintFullReport(const DiscIO::VolumeVerifier::Result& result);
|
||||
|
||||
std::string HashToHexString(const std::vector<u8>& hash);
|
||||
};
|
||||
|
||||
int VerifyCommand(const std::vector<std::string>& args);
|
||||
} // namespace DolphinTool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue