/
decl.hpp
43 lines (32 loc) · 779 Bytes
/
decl.hpp
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
/**
* @file addons/cpp/mixins/doc/decl.hpp
* @brief Doc mixin declarations.
*/
#pragma once
namespace flecs {
namespace doc {
/**
* @defgroup cpp_addons_doc Doc
* @ingroup cpp_addons
* Utilities for documenting entities, components and systems.
*
* @{
*/
/** flecs.doc.Description component */
using Description = EcsDocDescription;
/** flecs.doc.Brief component */
static const flecs::entity_t Brief = EcsDocBrief;
/** flecs.doc.Detail component */
static const flecs::entity_t Detail = EcsDocDetail;
/** flecs.doc.Link component */
static const flecs::entity_t Link = EcsDocLink;
/** flecs.doc.Color component */
static const flecs::entity_t Color = EcsDocColor;
/** @private */
namespace _ {
/** @private */
void init(flecs::world& world);
}
/** @} */
}
}