Centralize legacy recording bridge

This commit is contained in:
2026-06-04 12:58:27 +02:00
parent 65e9fdf1b9
commit a9ed201adf
9 changed files with 351 additions and 40 deletions

View File

@@ -0,0 +1,26 @@
#pragma once
#include "app_core/document_recording.h"
#include "foundation/result.h"
#include <string_view>
class App;
namespace pp::panopainter {
[[nodiscard]] pp::foundation::Status execute_legacy_recording_start_action(
App& app,
pp::app::RecordingStartAction action);
[[nodiscard]] pp::foundation::Status execute_legacy_recording_stop_action(
App& app,
pp::app::RecordingStopAction action);
[[nodiscard]] pp::foundation::Status execute_legacy_recording_clear_plan(
App& app,
const pp::app::RecordingClearPlan& plan);
[[nodiscard]] pp::foundation::Status execute_legacy_recording_export_plan(
App& app,
const pp::app::RecordingExportPlan& plan,
std::string_view path);
} // namespace pp::panopainter