Plan PPBR export reporting

This commit is contained in:
2026-06-05 09:49:32 +02:00
parent fcc0e577b8
commit f225a81ec4
8 changed files with 50 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include "app_core/app_dialog.h"
#include "foundation/result.h"
#include <string>
@@ -33,6 +34,13 @@ public:
return pp::foundation::Status::success();
}
[[nodiscard]] inline AppMessageDialogPlan plan_brush_package_export_success_dialog(std::string_view path)
{
std::string message = "Brushes exported to:\n";
message += path;
return plan_app_message_dialog("Export PPBR", message, false);
}
[[nodiscard]] inline pp::foundation::Status validate_brush_package_export_request(
std::string_view path,
const BrushPackageExportRequest& request) noexcept