From 51ea7850ddcee47881dba88588a95032c6ac8384 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 16 May 2025 11:47:17 +0200 Subject: lib: add factory function for Participant --- lib/src/turnsmm/participant.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/src/turnsmm/participant.hpp') diff --git a/lib/src/turnsmm/participant.hpp b/lib/src/turnsmm/participant.hpp index 04c4fe8..53a7787 100644 --- a/lib/src/turnsmm/participant.hpp +++ b/lib/src/turnsmm/participant.hpp @@ -8,6 +8,7 @@ #include #include #include + #include namespace Turns @@ -24,6 +25,9 @@ namespace Turns auto static get_base_type() -> GType; auto static get_type() -> GType; + auto static create() -> Glib::RefPtr; + auto static create(Glib::ustring const & name, float priority, Disposition disposition) -> Glib::RefPtr; + Participant(); Participant(Glib::ustring const & name, float priority, Disposition disposition); -- cgit v1.2.3