|
coastline 0.0.4
|
The routines the wizard calls to check and import its files. More...
#include <setupwizard.h>

Public Attributes | |
| std::function< std::optional< std::string >(const std::filesystem::path &)> | checkDisc |
| The reason a disc image is not Boss Rally, or nothing when it is. | |
| std::function< std::optional< WizardCartridge >(const std::filesystem::path &)> | identifyCartridge |
| The release of a ROM image by its SHA-1, or nothing when it is not Top Gear Rally. | |
| std::function< bool(const std::filesystem::path &, const std::filesystem::path &)> | preferCartridge |
| Whether a newly found ROM should replace one already selected for the same slot. | |
| std::function< void(const std::filesystem::path &, const std::function< bool(WizardCartridge, const std::filesystem::path &)> &, const WizardProgress &)> | scanArchive |
| Search ZIP entries and report validated ROM images cached outside the archive. | |
| std::function< std::optional< std::string >(const WizardImport &, const WizardProgress &)> | import |
| Import files on a separate thread and return a message on failure. | |
| std::function< void(const std::string &)> | openUrl |
| Open an absolute UTF-8 URL in the default browser, or remain empty to disable links. | |
| std::filesystem::path | home |
| std::filesystem::path | lastDirectory |
| std::filesystem::path | disc |
| std::array< std::filesystem::path, WIZARD_CARTRIDGES > | roms |
| Previously entered ROM paths in their original slots, including empty slots. | |
| std::filesystem::path | searchDirectory |
| std::string | buildRevision |
| std::string | buildDate |
| std::string | reimportReason |
| bool | portableAvailable = false |
| bool | portable = false |
The routines the wizard calls to check and import its files.
| std::function<std::optional<std::string>(const std::filesystem::path &)> coastline::WizardServices::checkDisc |
The reason a disc image is not Boss Rally, or nothing when it is.
| std::function<std::optional<WizardCartridge>(const std::filesystem::path &)> coastline::WizardServices::identifyCartridge |
The release of a ROM image by its SHA-1, or nothing when it is not Top Gear Rally.
| std::function<bool(const std::filesystem::path &, const std::filesystem::path &)> coastline::WizardServices::preferCartridge |
Whether a newly found ROM should replace one already selected for the same slot.
| std::function<void(const std::filesystem::path &, const std::function<bool(WizardCartridge, const std::filesystem::path &)> &, const WizardProgress &)> coastline::WizardServices::scanArchive |
Search ZIP entries and report validated ROM images cached outside the archive.
| std::function<std::optional<std::string>(const WizardImport &, const WizardProgress &)> coastline::WizardServices::import |
Import files on a separate thread and return a message on failure.
| std::function<void(const std::string &)> coastline::WizardServices::openUrl |
Open an absolute UTF-8 URL in the default browser, or remain empty to disable links.
| std::filesystem::path coastline::WizardServices::home |
The directory the file browser starts in at first.
| std::filesystem::path coastline::WizardServices::lastDirectory |
The directory last browsed, or empty.
| std::filesystem::path coastline::WizardServices::disc |
The previously entered disc image path, or empty.
| std::array<std::filesystem::path, WIZARD_CARTRIDGES> coastline::WizardServices::roms |
Previously entered ROM paths in their original slots, including empty slots.
| std::filesystem::path coastline::WizardServices::searchDirectory |
The previously entered search directory, or empty.
| std::string coastline::WizardServices::buildRevision |
A version tag or short source revision.
| std::string coastline::WizardServices::buildDate |
The ISO 8601 UTC timestamp of the build.
| std::string coastline::WizardServices::reimportReason |
Why existing assets need another import, or empty.
| bool coastline::WizardServices::portableAvailable = false |
Whether a portable installation can be selected.
| bool coastline::WizardServices::portable = false |
Whether a portable installation is selected.