diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2026-03-03 16:43:56 +0100 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2026-03-03 16:43:56 +0100 |
| commit | ac696809b0c62f7f062a0dc155a4bf4a995cc9cf (patch) | |
| tree | f66179841980d791a935e108c86a4cecf55144e3 /lib/CWayland/CWayland.h | |
| parent | 651c32bad4f336eee9cf423eec5f7b1057a58adf (diff) | |
display connect/disconnect
Diffstat (limited to 'lib/CWayland/CWayland.h')
| -rw-r--r-- | lib/CWayland/CWayland.h | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/lib/CWayland/CWayland.h b/lib/CWayland/CWayland.h index 42bc5ee..adcadc0 100644 --- a/lib/CWayland/CWayland.h +++ b/lib/CWayland/CWayland.h @@ -2,19 +2,29 @@ #include <lean/lean.h> +#ifdef __cplusplus +extern "C" +{ +#endif + // Display -lean_obj_res waylean_display_new(void); +lean_obj_res waylean_display_new (b_lean_obj_arg name); +lean_obj_res waylean_display_get_version(b_lean_obj_arg display); // Event Loop lean_obj_res waylean_event_loop_new (void); -lean_obj_res waylean_event_loop_add_display(lean_obj_arg event_loop, - lean_obj_arg display); -lean_obj_res waylean_event_loop_add_timer (lean_obj_arg event_loop, - unsigned delay_ms, - lean_obj_arg message); -lean_obj_res waylean_event_loop_add_signal (lean_obj_arg event_loop, - int signum, - lean_obj_arg message); -lean_obj_res waylean_event_loop_poll (lean_obj_arg event_loop);
\ No newline at end of file +lean_obj_res waylean_event_loop_add_display(b_lean_obj_arg event_loop, + b_lean_obj_arg display); +lean_obj_res waylean_event_loop_add_timer (b_lean_obj_arg event_loop, + unsigned delay_ms, + b_lean_obj_arg message); +lean_obj_res waylean_event_loop_add_signal (b_lean_obj_arg event_loop, + int signum, + b_lean_obj_arg message); +lean_obj_res waylean_event_loop_poll (b_lean_obj_arg event_loop); + +#ifdef __cplusplus +} +#endif
\ No newline at end of file |
