blob: 25fc0b56c492bbf30dff44c8127795dd7fca393d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#ifndef TURNSMM_TURN_ORDER_HPP
#define TURNSMM_TURN_ORDER_HPP
#include "turns-turn-order.h"
#include <glibmm/object.h>
#include <glibmm/propertyproxy.h>
#include <glibmm/refptr.h>
#include <glibmm/ustring.h>
#include <cstddef>
namespace Turns
{
class TurnOrder final : public Glib::Object
{
public:
using BaseClassType = TurnsTurnOrderClass;
using BaseObjectType = TurnsTurnOrder;
using CppClassType = class TurnOrder_Class;
using CppObjectType = TurnOrder;
TurnOrder();
[[nodiscard]] auto gobj() noexcept -> BaseObjectType *;
[[nodiscard]] auto gobj() const -> BaseObjectType const *;
[[nodiscard]] auto gobj_copy() noexcept -> BaseObjectType *;
[[nodiscard]] auto get_participant_count() const noexcept -> std::size_t;
[[nodiscard]] auto get_running() const noexcept -> bool;
[[nodiscard]] auto property_participant_count() const noexcept -> Glib::PropertyProxy_ReadOnly<std::size_t>;
[[nodiscard]] auto property_running() const noexcept -> Glib::PropertyProxy_ReadOnly<bool>;
protected:
friend TurnOrder_Class;
explicit TurnOrder(BaseObjectType * gobj);
};
} // namespace Turns
namespace Glib
{
auto wrap(TurnsTurnOrder * object, bool copy = false) -> Glib::RefPtr<Turns::TurnOrder>;
} // namespace Glib
#endif
|