diff options
author | kotontrion <[email protected]> | 2024-09-27 23:39:11 +0200 |
---|---|---|
committer | kotontrion <[email protected]> | 2024-09-27 23:39:11 +0200 |
commit | 27d8bbf871efeefe628819d78547dc2ec64abf94 (patch) | |
tree | eaa2946a5311674a41493e5f8c6ca82b489f961e /core/src/vapi | |
parent | 6916d59373948c8bc23cbb198795fe4608a73ba3 (diff) |
core: move vapi dir to src
Diffstat (limited to 'core/src/vapi')
-rw-r--r-- | core/src/vapi/AstalInhibitManager.vapi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/src/vapi/AstalInhibitManager.vapi b/core/src/vapi/AstalInhibitManager.vapi new file mode 100644 index 0000000..6232a3c --- /dev/null +++ b/core/src/vapi/AstalInhibitManager.vapi @@ -0,0 +1,13 @@ +[CCode (cprefix = "Astal", gir_namespace = "Astal", lower_case_cprefix = "astal_")] +namespace Astal { + [CCode (cheader_filename = "idle-inhibit.h", type_id = "astal_idle_inhibit_manager_get_type()")] + public class InhibitManager : GLib.Object { + public static unowned InhibitManager? get_default(); + public Inhibitor inhibit (Gtk.Window window); + } + + [CCode (cheader_filename = "idle-inhibit.h", free_function = "zwp_idle_inhibitor_v1_destroy")] + [Compact] + public class Inhibitor { + } +} |