summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
Diffstat (limited to 'vapi')
-rw-r--r--vapi/gdk-wayland-3.0.vapi10
-rw-r--r--vapi/version.vapi14
2 files changed, 24 insertions, 0 deletions
diff --git a/vapi/gdk-wayland-3.0.vapi b/vapi/gdk-wayland-3.0.vapi
new file mode 100644
index 0000000..81e0a25
--- /dev/null
+++ b/vapi/gdk-wayland-3.0.vapi
@@ -0,0 +1,10 @@
+[CCode (cheader_filename = "gdk/gdkwayland.h")]
+namespace Gdk.Wayland {
+ [CCode (type_id = "GDK_TYPE_WAYLAND_WINDOW", type_check_function = "GDK_IS_WAYLAND_WINDOW")]
+ public class Window : Gdk.Window {
+ public bool export_handle (owned WindowExported callback);
+ }
+
+ [CCode (instance_pos = 2.9)]
+ public delegate void WindowExported (Gdk.Window window, string handle);
+}
diff --git a/vapi/version.vapi b/vapi/version.vapi
new file mode 100644
index 0000000..e191f2f
--- /dev/null
+++ b/vapi/version.vapi
@@ -0,0 +1,14 @@
+[CCode (cheader_filename = "version.h")]
+public const string? _GIT_VERSION;
+[CCode (cheader_filename = "config.h")]
+public const string _PREFIX;
+[CCode (cheader_filename = "config.h")]
+public const string _VERSION;
+[CCode (cheader_filename = "config.h")]
+public const string GETTEXT_PACKAGE;
+[CCode (cheader_filename = "config.h")]
+public const string _LIB;
+[CCode (cheader_filename = "config.h")]
+public const string _LIBEXECDIR;
+[CCode (cheader_filename = "config.h")]
+public const string _LANG_SUPPORT_DIR;