Centralize legacy recording bridge
This commit is contained in:
26
src/legacy_recording_services.h
Normal file
26
src/legacy_recording_services.h
Normal 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
|
||||
Reference in New Issue
Block a user