From 651c32bad4f336eee9cf423eec5f7b1057a58adf Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Mon, 2 Mar 2026 18:31:39 +0100 Subject: build: link against libwayland --- lib/CWayland/CWayland.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lib/CWayland/CWayland.h (limited to 'lib/CWayland/CWayland.h') diff --git a/lib/CWayland/CWayland.h b/lib/CWayland/CWayland.h new file mode 100644 index 0000000..42bc5ee --- /dev/null +++ b/lib/CWayland/CWayland.h @@ -0,0 +1,20 @@ +#pragma once + +#include + +// Display + +lean_obj_res waylean_display_new(void); + +// 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 -- cgit v1.3.1