From 1ba3a702448655efdd3d84b536cf0ffb32fa2570 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 25 Jul 2024 19:02:41 +0200 Subject: ui/tracker: implement save as... --- ui/include/turns/ui/windows/tracker.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ui/include') diff --git a/ui/include/turns/ui/windows/tracker.hpp b/ui/include/turns/ui/windows/tracker.hpp index a5fe833..6d0b4d6 100644 --- a/ui/include/turns/ui/windows/tracker.hpp +++ b/ui/include/turns/ui/windows/tracker.hpp @@ -9,6 +9,7 @@ #include #include +#include #include #include @@ -20,8 +21,8 @@ #include -#include #include +#include namespace turns::ui::windows { @@ -34,8 +35,9 @@ namespace turns::ui::windows auto handle_add_participant() -> void; auto handle_delete_participant(Glib::VariantBase param) -> void; auto handle_edit_participant(Glib::VariantBase param) -> void; - auto handle_save() -> void; - auto handle_save_finish(Glib::RefPtr result, Glib::RefPtr dialog) -> void; + auto handle_save(bool force_ask) -> void; + auto handle_save_done(Glib::RefPtr result) -> void; + auto handle_save_response(Glib::RefPtr result, Glib::RefPtr dialog) -> void; auto handle_stop() -> void; auto setup_actions() -> void; @@ -54,7 +56,7 @@ namespace turns::ui::windows Glib::PropertyProxy m_subtitle; std::string m_file_tag{}; - std::optional m_file_name{}; + Glib::RefPtr m_file{}; }; } // namespace turns::ui::windows -- cgit v1.2.3