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
9namespace Tools::DemoSong {
10
11using Common::Error;
12
14struct 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
34class DemoSong {
35public:
43 static std::expected<void, Error> add(const Inputs &inputs);
44};
45
46} // namespace Tools::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
static std::expected< void, Error > add(const Inputs &inputs)
Add the song.
Adder of the P.O.D.
Definition demosong.h:9
Failure returned through std::expected.
Definition error.h:17
The inputs and the extracted disc that DemoSong::add() changes.
Definition demosong.h:14
std::filesystem::path spaceEdition
Definition demosong.h:18
std::filesystem::path arkRoot
Definition demosong.h:15
std::filesystem::path discRoot
Definition demosong.h:16
std::filesystem::path demoImage
Definition demosong.h:17
bool pal
Definition demosong.h:19