From 1af3d14f3f995645a0de08a54b244c19840709e9 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Thu, 19 Jun 2025 23:17:58 +0200 Subject: init hs project --- csrc/dbus/com.github.hannesschulze.foobar.xml | 8 ++++ csrc/dbus/meson.build | 37 +++++++++++++++ csrc/dbus/org.bluez.xml | 66 +++++++++++++++++++++++++++ csrc/dbus/org.freedesktop.Notifications.xml | 35 ++++++++++++++ csrc/dbus/org.freedesktop.UPower.xml | 12 +++++ 5 files changed, 158 insertions(+) create mode 100644 csrc/dbus/com.github.hannesschulze.foobar.xml create mode 100644 csrc/dbus/meson.build create mode 100644 csrc/dbus/org.bluez.xml create mode 100644 csrc/dbus/org.freedesktop.Notifications.xml create mode 100644 csrc/dbus/org.freedesktop.UPower.xml (limited to 'csrc/dbus') diff --git a/csrc/dbus/com.github.hannesschulze.foobar.xml b/csrc/dbus/com.github.hannesschulze.foobar.xml new file mode 100644 index 0000000..e8373a6 --- /dev/null +++ b/csrc/dbus/com.github.hannesschulze.foobar.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/csrc/dbus/meson.build b/csrc/dbus/meson.build new file mode 100644 index 0000000..80062bd --- /dev/null +++ b/csrc/dbus/meson.build @@ -0,0 +1,37 @@ +foobar_sources += gnome.gdbus_codegen( + 'server', + 'com.github.hannesschulze.foobar.xml', + namespace: 'Foobar', + annotations: [ + ['com.github.hannesschulze.foobar.Server', 'org.gtk.GDBus.C.Name', 'Server'], + ], +) + +foobar_sources += gnome.gdbus_codegen( + 'notifications', + 'org.freedesktop.Notifications.xml', + namespace: 'Foobar', + annotations: [ + ['org.freedesktop.Notifications', 'org.gtk.GDBus.C.Name', 'Notifications'], + ], +) + +foobar_sources += gnome.gdbus_codegen( + 'upower', + 'org.freedesktop.UPower.xml', + namespace: 'Foobar', + annotations: [ + ['org.freedesktop.UPower.Device', 'org.gtk.GDBus.C.Name', 'UPowerDevice'], + ], +) + +foobar_sources += gnome.gdbus_codegen( + 'bluez', + 'org.bluez.xml', + namespace: 'Foobar', + annotations: [ + ['org.bluez.Adapter1', 'org.gtk.GDBus.C.Name', 'BluezAdapter'], + ['org.bluez.Device1', 'org.gtk.GDBus.C.Name', 'BluezDevice'], + ['org.bluez.AgentManager1', 'org.gtk.GDBus.C.Name', 'BluezAgentManager'], + ], +) diff --git a/csrc/dbus/org.bluez.xml b/csrc/dbus/org.bluez.xml new file mode 100644 index 0000000..669e325 --- /dev/null +++ b/csrc/dbus/org.bluez.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/csrc/dbus/org.freedesktop.Notifications.xml b/csrc/dbus/org.freedesktop.Notifications.xml new file mode 100644 index 0000000..6b1d2f2 --- /dev/null +++ b/csrc/dbus/org.freedesktop.Notifications.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/csrc/dbus/org.freedesktop.UPower.xml b/csrc/dbus/org.freedesktop.UPower.xml new file mode 100644 index 0000000..18fc41d --- /dev/null +++ b/csrc/dbus/org.freedesktop.UPower.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + -- cgit v1.3.1