wlmaker
Loading...
Searching...
No Matches
base.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __WLMTK_BASE_H__
21#define __WLMTK_BASE_H__
22
25
26#include <libbase/libbase.h>
27#include <stdbool.h>
28
29#include "container.h" // IWYU pragma: keep
30#include "element.h"
31
32#ifdef __cplusplus
33extern "C" {
34#endif // __cplusplus
35
46
58 wlmtk_base_t *base_ptr,
59 wlmtk_element_t *element_ptr);
60
66void wlmtk_base_fini(wlmtk_base_t *base_ptr);
67
70
79 wlmtk_base_t *base_ptr,
80 wlmtk_element_t *content_element_ptr);
81
84 wlmtk_base_t *base_ptr,
85 wlmtk_element_t *element_ptr);
86
89 wlmtk_base_t *base_ptr,
90 wlmtk_element_t *element_ptr);
91
93extern const bs_test_case_t wlmtk_base_test_cases[];
94
95#ifdef __cplusplus
96} // extern "C"
97#endif // __cplusplus
98
99#endif /* __WLMTK_BASE_H__ */
100/* == End of base.h ======================================================== */
wlmtk_element_t * wlmtk_base_element(wlmtk_base_t *base_ptr)
Definition base.c:73
bool wlmtk_base_init(wlmtk_base_t *base_ptr, wlmtk_element_t *element_ptr)
Definition base.c:47
void wlmtk_base_fini(wlmtk_base_t *base_ptr)
Definition base.c:66
void wlmtk_base_set_content_element(wlmtk_base_t *base_ptr, wlmtk_element_t *content_element_ptr)
Definition base.c:79
const bs_test_case_t wlmtk_base_test_cases[]
Definition base.c:155
void wlmtk_base_pop_element(wlmtk_base_t *base_ptr, wlmtk_element_t *element_ptr)
Definition base.c:113
void wlmtk_base_push_element(wlmtk_base_t *base_ptr, wlmtk_element_t *element_ptr)
Definition base.c:99
Definition base.h:37
wlmtk_container_t super_container
Definition base.h:39
wlmtk_element_t * content_element_ptr
Definition base.h:44
wlmtk_element_vmt_t orig_super_element_vmt
Definition base.h:41
Definition container.h:55
Definition element.h:181
Definition element.h:67