ux: Handle project loading errors better

This commit is contained in:
WerWolv
2022-09-20 15:33:36 +02:00
parent e0e2996e25
commit 1d4cbbe418
17 changed files with 43 additions and 5 deletions

View File

@@ -19,12 +19,14 @@ namespace hex {
struct Handler {
using Function = std::function<bool(const std::fs::path &, Tar &tar)>;
std::fs::path basePath;
bool required;
Function load, store;
};
struct ProviderHandler {
using Function = std::function<bool(prv::Provider *provider, const std::fs::path &, Tar &tar)>;
std::fs::path basePath;
bool required;
Function load, store;
};