From 3f5499cebc06356ed99159be3fb9676292cf7b8b Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 24 Jul 2024 10:44:13 +0200 Subject: turns: rename domain to core --- app/include/turns/app/widgets/participant_row.hpp | 4 ++-- app/include/turns/app/widgets/turn_order_view.hpp | 8 ++++---- app/include/turns/app/windows/participant_editor.hpp | 12 ++++++------ app/include/turns/app/windows/tracker.hpp | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'app/include') diff --git a/app/include/turns/app/widgets/participant_row.hpp b/app/include/turns/app/widgets/participant_row.hpp index b1942b1..d5c896a 100644 --- a/app/include/turns/app/widgets/participant_row.hpp +++ b/app/include/turns/app/widgets/participant_row.hpp @@ -2,7 +2,7 @@ #define TURNS_APP_WIDGETS_PARTICIPANT_ROW_HPP #include "turns/app/widgets/template_widget.hpp" -#include "turns/domain/participant.hpp" +#include "turns/core/participant.hpp" #include @@ -27,7 +27,7 @@ namespace turns::app::widgets "toggle_defeated", }; - participant_row(Glib::RefPtr participant); + participant_row(Glib::RefPtr participant); auto property_delete_enabled() -> Glib::PropertyProxy; auto property_edit_enabled() -> Glib::PropertyProxy; diff --git a/app/include/turns/app/widgets/turn_order_view.hpp b/app/include/turns/app/widgets/turn_order_view.hpp index 15524a9..cb996f8 100644 --- a/app/include/turns/app/widgets/turn_order_view.hpp +++ b/app/include/turns/app/widgets/turn_order_view.hpp @@ -2,9 +2,9 @@ #define TURNS_APP_WIDGETS_TURN_ORDER_VIEW_HPP #include "turns/app/widgets/template_widget.hpp" -#include "turns/domain/disposition.hpp" -#include "turns/domain/participant.hpp" -#include "turns/domain/turn_order.hpp" +#include "turns/core/disposition.hpp" +#include "turns/core/participant.hpp" +#include "turns/core/turn_order.hpp" #include @@ -18,7 +18,7 @@ namespace turns::app::widgets { struct turn_order_view : template_widget { - using model_type = domain::turn_order; + using model_type = core::turn_order; auto constexpr inline static children = std::array{ "view", diff --git a/app/include/turns/app/windows/participant_editor.hpp b/app/include/turns/app/windows/participant_editor.hpp index 23d0569..1ca3e43 100644 --- a/app/include/turns/app/windows/participant_editor.hpp +++ b/app/include/turns/app/windows/participant_editor.hpp @@ -1,7 +1,7 @@ #ifndef TURNS_APP_WINDOWS_PARTICIPANT_EDITOR_HPP #define TURNS_APP_WINDOWS_PARTICIPANT_EDITOR_HPP -#include "turns/domain/participant.hpp" +#include "turns/core/participant.hpp" #include @@ -21,11 +21,11 @@ namespace turns::app::windows struct participant_editor : Gtk::Widget { - using signal_finished_type = sigc::signal().name().get_value()), - decltype(std::declval().priority().get_value()), - decltype(std::declval().disposition().get_value()))>; + using signal_finished_type = sigc::signal().name().get_value()), + decltype(std::declval().priority().get_value()), + decltype(std::declval().disposition().get_value()))>; - participant_editor(BaseObjectType * base, Glib::RefPtr const builder, Glib::RefPtr obj = {}); + participant_editor(BaseObjectType * base, Glib::RefPtr const builder, Glib::RefPtr obj = {}); auto present(Gtk::Widget * parent) -> void; @@ -45,7 +45,7 @@ namespace turns::app::windows Glib::RefPtr m_disposition_factory; Glib::RefPtr m_disposition_model; - Glib::RefPtr m_participant; + Glib::RefPtr m_participant; signal_finished_type m_signal_finished{}; }; diff --git a/app/include/turns/app/windows/tracker.hpp b/app/include/turns/app/windows/tracker.hpp index e1349f8..b9dea52 100644 --- a/app/include/turns/app/windows/tracker.hpp +++ b/app/include/turns/app/windows/tracker.hpp @@ -2,7 +2,7 @@ #define TURNS_APP_WINDOWS_TRACKER_HPP #include "turns/app/widgets/turn_order_view.hpp" -#include "turns/domain/turn_order.hpp" +#include "turns/core/turn_order.hpp" #include #include @@ -36,7 +36,7 @@ namespace turns::app::windows Gtk::Stack * m_stack; Gtk::Button * m_start; AdwWindowTitle * m_title; - Glib::RefPtr m_turn_order; + Glib::RefPtr m_turn_order; widgets::turn_order_view * m_turn_order_view; Glib::PropertyProxy m_subtitle; }; -- cgit v1.2.3