summaryrefslogtreecommitdiff
path: root/app/include
diff options
context:
space:
mode:
Diffstat (limited to 'app/include')
-rw-r--r--app/include/turns/app/widgets/participant_row.hpp4
-rw-r--r--app/include/turns/app/widgets/turn_order_view.hpp8
-rw-r--r--app/include/turns/app/windows/participant_editor.hpp12
-rw-r--r--app/include/turns/app/windows/tracker.hpp4
4 files changed, 14 insertions, 14 deletions
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 <array>
@@ -27,7 +27,7 @@ namespace turns::app::widgets
"toggle_defeated",
};
- participant_row(Glib::RefPtr<domain::participant> participant);
+ participant_row(Glib::RefPtr<core::participant> participant);
auto property_delete_enabled() -> Glib::PropertyProxy<bool>;
auto property_edit_enabled() -> Glib::PropertyProxy<bool>;
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 <array>
@@ -18,7 +18,7 @@ namespace turns::app::widgets
{
struct turn_order_view : template_widget<turn_order_view, Gtk::ScrolledWindow>
{
- 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 <utility>
@@ -21,11 +21,11 @@ namespace turns::app::windows
struct participant_editor : Gtk::Widget
{
- using signal_finished_type = sigc::signal<void(decltype(std::declval<domain::participant const>().name().get_value()),
- decltype(std::declval<domain::participant const>().priority().get_value()),
- decltype(std::declval<domain::participant const>().disposition().get_value()))>;
+ using signal_finished_type = sigc::signal<void(decltype(std::declval<core::participant const>().name().get_value()),
+ decltype(std::declval<core::participant const>().priority().get_value()),
+ decltype(std::declval<core::participant const>().disposition().get_value()))>;
- participant_editor(BaseObjectType * base, Glib::RefPtr<Gtk::Builder> const builder, Glib::RefPtr<domain::participant> obj = {});
+ participant_editor(BaseObjectType * base, Glib::RefPtr<Gtk::Builder> const builder, Glib::RefPtr<core::participant> obj = {});
auto present(Gtk::Widget * parent) -> void;
@@ -45,7 +45,7 @@ namespace turns::app::windows
Glib::RefPtr<Gtk::SignalListItemFactory> m_disposition_factory;
Glib::RefPtr<Gtk::StringList> m_disposition_model;
- Glib::RefPtr<domain::participant> m_participant;
+ Glib::RefPtr<core::participant> 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 <adwaita.h>
#include <glibmm/refptr.h>
@@ -36,7 +36,7 @@ namespace turns::app::windows
Gtk::Stack * m_stack;
Gtk::Button * m_start;
AdwWindowTitle * m_title;
- Glib::RefPtr<domain::turn_order> m_turn_order;
+ Glib::RefPtr<core::turn_order> m_turn_order;
widgets::turn_order_view * m_turn_order_view;
Glib::PropertyProxy<Glib::ustring> m_subtitle;
};