Plan recording export progress dialog

This commit is contained in:
2026-06-05 10:15:33 +02:00
parent 407297dc2e
commit b534c4a4da
8 changed files with 63 additions and 16 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include "app_core/app_dialog.h"
#include "foundation/result.h"
#include <cstddef>
@@ -84,6 +85,12 @@ public:
};
}
[[nodiscard]] inline AppProgressDialogPlan plan_recording_export_progress_dialog(
const RecordingExportPlan& plan)
{
return plan_app_progress_dialog("Exporting MP4 movie", plan.progress_total);
}
[[nodiscard]] constexpr RecordingWorkerIterationPlan plan_recording_worker_iteration(
bool is_running_after_wake,
bool has_encoder,