From fb015121f064f2be12d1e28cdc7c54e074ed0411 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 12 May 2025 17:53:49 +0200 Subject: lib: begin basic C++ wrapper --- lib/src/turnsmm/private/participant_p.hpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 lib/src/turnsmm/private/participant_p.hpp (limited to 'lib/src/turnsmm/private') diff --git a/lib/src/turnsmm/private/participant_p.hpp b/lib/src/turnsmm/private/participant_p.hpp new file mode 100644 index 0000000..e3f4ce8 --- /dev/null +++ b/lib/src/turnsmm/private/participant_p.hpp @@ -0,0 +1,31 @@ +#ifndef TURNSMM_PARTICIPANT_P_HPP +#define TURNSMM_PARTICIPANT_P_HPP + +#include "turns-participant.h" + +#include +#include +#include + +#include + +namespace Turns +{ + + class Participant_Class : Glib::Class + { + public: + using BaseClassParent = GObjectClass; + using BaseClassType = TurnsParticipantClass; + using BaseObjectType = TurnsParticipant; + using CppClassParent = Glib::Object_Class; + using CppObjectType = class Participant; + + auto init() -> Glib::Class const &; + auto static class_init_function(void * gclass, void * data) -> void; + auto static wrap_new(GObject * object) -> Glib::ObjectBase *; + }; + +} // namespace Turns + +#endif \ No newline at end of file -- cgit v1.2.3