wavelength
1.0.0
Loading...
Searching...
No Matches
demosong.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <expected>
4
#include <filesystem>
5
6
#include "
error.h
"
7
9
namespace
Tools::DemoSong
{
10
11
using
Common::Error
;
12
14
struct
Inputs
{
15
std::filesystem::path
arkRoot
;
16
std::filesystem::path
discRoot
;
17
std::filesystem::path
demoImage
;
18
std::filesystem::path
spaceEdition
;
19
bool
pal
=
false
;
20
};
21
34
class
DemoSong
{
35
public
:
43
static
std::expected<void, Error>
add
(
const
Inputs
&inputs);
44
};
45
46
}
// namespace Tools::DemoSong
Tools::DemoSong::DemoSong
Adds the song POD_DEMO ("Space" by P.O.D.) to an extracted retail disc, the way Amplitude-Space-Editi...
Definition
demosong.h:34
Tools::DemoSong::DemoSong::add
static std::expected< void, Error > add(const Inputs &inputs)
Add the song.
error.h
Tools::DemoSong
Adder of the P.O.D.
Definition
demosong.h:9
Tools::Common::Error
Failure returned through std::expected.
Definition
error.h:17
Tools::DemoSong::Inputs
The inputs and the extracted disc that DemoSong::add() changes.
Definition
demosong.h:14
Tools::DemoSong::Inputs::spaceEdition
std::filesystem::path spaceEdition
Definition
demosong.h:18
Tools::DemoSong::Inputs::arkRoot
std::filesystem::path arkRoot
Definition
demosong.h:15
Tools::DemoSong::Inputs::discRoot
std::filesystem::path discRoot
Definition
demosong.h:16
Tools::DemoSong::Inputs::demoImage
std::filesystem::path demoImage
Definition
demosong.h:17
Tools::DemoSong::Inputs::pal
bool pal
Definition
demosong.h:19
tools
demo-song
demosong.h
Generated by
1.15.0