diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-05-23 13:51:10 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-05-23 13:51:10 +0200 |
| commit | c45004b73bb045328a724d1d860df6d1515af6d4 (patch) | |
| tree | 4ce448eeb947e87f0447e9be20d90151a26421c9 /lib/include/turnsmm/private | |
| parent | 14db127b26bc47861b6c41f144fe6e3b4ce283a0 (diff) | |
| download | turns-c45004b73bb045328a724d1d860df6d1515af6d4.tar.xz turns-c45004b73bb045328a724d1d860df6d1515af6d4.zip | |
lib: split out header files
Diffstat (limited to 'lib/include/turnsmm/private')
| -rw-r--r-- | lib/include/turnsmm/private/participant_p.hpp | 36 | ||||
| -rw-r--r-- | lib/include/turnsmm/private/turn-order_p.hpp | 36 |
2 files changed, 72 insertions, 0 deletions
diff --git a/lib/include/turnsmm/private/participant_p.hpp b/lib/include/turnsmm/private/participant_p.hpp new file mode 100644 index 0000000..d0f4f0d --- /dev/null +++ b/lib/include/turnsmm/private/participant_p.hpp @@ -0,0 +1,36 @@ +/* + * SPDX-FileCopyrightText: 2025 Felix Morgner <felix.morgner@gmail.com> + * SPDX-License-Identifier: LGPL-2.1-only + */ + +#ifndef TURNSMM_PARTICIPANT_P_HPP +#define TURNSMM_PARTICIPANT_P_HPP + +#include "turns-participant.h" + +#include <glibmm/class.h> +#include <glibmm/object.h> +#include <glibmm/objectbase.h> + +#include <glib-object.h> + +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 diff --git a/lib/include/turnsmm/private/turn-order_p.hpp b/lib/include/turnsmm/private/turn-order_p.hpp new file mode 100644 index 0000000..d694b3e --- /dev/null +++ b/lib/include/turnsmm/private/turn-order_p.hpp @@ -0,0 +1,36 @@ +/* + * SPDX-FileCopyrightText: 2025 Felix Morgner <felix.morgner@gmail.com> + * SPDX-License-Identifier: LGPL-2.1-only + */ + +#ifndef TURNSMM_TURN_ORDER_P_HPP +#define TURNSMM_TURN_ORDER_P_HPP + +#include "turns-turn-order.h" + +#include <glibmm/class.h> +#include <glibmm/object.h> +#include <glibmm/objectbase.h> + +#include <glib-object.h> + +namespace Turns +{ + + class TurnOrder_Class : Glib::Class + { + public: + using BaseClassParent = GObjectClass; + using BaseClassType = TurnsTurnOrderClass; + using BaseObjectType = TurnsTurnOrder; + using CppClassParent = Glib::Object_Class; + using CppObjectType = class TURN_ORDER; + + 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 |
