Thin legacy app dialog shell
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "app_core/app_dialog.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
class App;
|
||||
class NodeInputBox;
|
||||
@@ -17,14 +18,31 @@ namespace pp::panopainter {
|
||||
App& app,
|
||||
const pp::app::AppProgressDialogPlan& plan);
|
||||
|
||||
[[nodiscard]] std::shared_ptr<NodeProgressBar> show_legacy_app_progress_dialog(
|
||||
App& app,
|
||||
const std::string& title,
|
||||
int total);
|
||||
|
||||
[[nodiscard]] std::shared_ptr<NodeMessageBox> create_legacy_app_message_dialog(
|
||||
App& app,
|
||||
const pp::app::AppMessageDialogPlan& plan);
|
||||
|
||||
[[nodiscard]] std::shared_ptr<NodeMessageBox> show_legacy_app_message_dialog(
|
||||
App& app,
|
||||
const std::string& title,
|
||||
const std::string& text,
|
||||
bool cancel_button);
|
||||
|
||||
[[nodiscard]] std::shared_ptr<NodeInputBox> create_legacy_app_input_dialog(
|
||||
App& app,
|
||||
const pp::app::AppInputDialogPlan& plan);
|
||||
|
||||
[[nodiscard]] std::shared_ptr<NodeInputBox> show_legacy_app_input_dialog(
|
||||
App& app,
|
||||
const std::string& title,
|
||||
const std::string& field_name,
|
||||
const std::string& ok_caption);
|
||||
|
||||
[[nodiscard]] std::shared_ptr<NodeProgressBar> legacy_progress_dialog_node(
|
||||
const std::shared_ptr<pp::app::AppProgressDialog>& dialog) noexcept;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user