#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
