summaryrefslogtreecommitdiff
path: root/include/wayland-source.h
diff options
context:
space:
mode:
authorkotontrion <[email protected]>2024-06-09 20:27:00 +0200
committerkotontrion <[email protected]>2024-06-09 20:27:00 +0200
commit29b1060c6fc2614dcbfe6edc177944a31f4decd6 (patch)
tree5e0b0305206f6499edeffe5152267e4ad96b88b0 /include/wayland-source.h
initial commit
Diffstat (limited to 'include/wayland-source.h')
-rw-r--r--include/wayland-source.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/wayland-source.h b/include/wayland-source.h
new file mode 100644
index 0000000..ad6ed8c
--- /dev/null
+++ b/include/wayland-source.h
@@ -0,0 +1,14 @@
+#ifndef __WAYLAND_SOURCE_H__
+#define __WAYLAND_SOURCE_H__
+
+G_BEGIN_DECLS
+
+typedef struct _WLSource WLSource;
+
+WLSource* wl_source_new();
+void wl_source_free(WLSource *self);
+struct wl_display* wl_source_get_display(WLSource *source);
+
+G_END_DECLS
+
+#endif /* __WAYLAND_SOURCE_H__ */