summaryrefslogtreecommitdiff
path: root/river/include/wayland-source.h
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-01 03:23:02 +0200
committerAylur <[email protected]>2024-09-01 03:23:02 +0200
commit9573f14c3e6dbfadbf443936e8f6375c48bfa8c3 (patch)
tree03bdc71d7dc2dccb3d9cf6291997c155def2d455 /river/include/wayland-source.h
parent3390e65f317b3f3c0a612311f46db35bd6107234 (diff)
parent247ac06b867a20b4c30f3f374a88ebfd40165753 (diff)
merge river
Diffstat (limited to 'river/include/wayland-source.h')
-rw-r--r--river/include/wayland-source.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/river/include/wayland-source.h b/river/include/wayland-source.h
new file mode 100644
index 0000000..b219589
--- /dev/null
+++ b/river/include/wayland-source.h
@@ -0,0 +1,16 @@
+#ifndef __WAYLAND_SOURCE_H__
+#define __WAYLAND_SOURCE_H__
+
+#include <glib-object.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__ */