blob: 8e6cdb3e0a34aff65d410d4b96a6d07147b5c493 (
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
50
51
52
53
54
55
|
#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 <giomm/listmodel.h>
#include <glib-object.h>
#include <cstddef>
namespace Turns
{
class TurnOrder final : public Glib::Object,
public Gio::ListModel
{
public:
using BaseClassType = TurnsTurnOrderClass;
using BaseObjectType = TurnsTurnOrder;
using CppClassType = class TurnOrder_Class;
using CppObjectType = TurnOrder;
auto static get_base_type() -> GType;
auto static get_type() -> GType;
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_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
|