diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-05-16 11:12:43 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-05-16 11:12:43 +0200 |
| commit | 84fb875123201f28a3333285b6323037b08accb4 (patch) | |
| tree | d588328fbb4ffcfc803d4cde7f749566984ea28c /lib/src/turnsmm/participant.cpp | |
| parent | 06200268231281ce925c8eea83cfd30fa824af2b (diff) | |
| download | turns-84fb875123201f28a3333285b6323037b08accb4.tar.xz turns-84fb875123201f28a3333285b6323037b08accb4.zip | |
lib: implement ListModel interface for TurnOrder
Diffstat (limited to 'lib/src/turnsmm/participant.cpp')
| -rw-r--r-- | lib/src/turnsmm/participant.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/src/turnsmm/participant.cpp b/lib/src/turnsmm/participant.cpp index 5cc3db6..2c7ca08 100644 --- a/lib/src/turnsmm/participant.cpp +++ b/lib/src/turnsmm/participant.cpp @@ -48,6 +48,16 @@ namespace Turns return new Participant(TURNS_PARTICIPANT(object)); } + auto Participant::get_base_type() -> GType + { + return turns_participant_get_type(); + } + + auto Participant::get_type() -> GType + { + return _class.init().get_type(); + } + Participant::Participant() : Glib::ObjectBase{nullptr} , Glib::Object{Glib::ConstructParams{_class.init()}} |
