27 lines
663 B
C++
27 lines
663 B
C++
#pragma once
|
|
|
|
#include "app_core/document_session.h"
|
|
#include "foundation/result.h"
|
|
|
|
#include <functional>
|
|
|
|
class App;
|
|
|
|
namespace pp::panopainter {
|
|
|
|
[[nodiscard]] pp::foundation::Status execute_legacy_close_request_decision(
|
|
App& app,
|
|
pp::app::CloseRequestDecision decision,
|
|
bool& dialog_already_opened);
|
|
|
|
[[nodiscard]] pp::foundation::Status execute_legacy_document_save_decision(
|
|
App& app,
|
|
pp::app::DocumentSaveDecision decision);
|
|
|
|
[[nodiscard]] pp::foundation::Status execute_legacy_document_workflow_decision(
|
|
App& app,
|
|
pp::app::DocumentWorkflowDecision decision,
|
|
std::function<void()> action);
|
|
|
|
} // namespace pp::panopainter
|