summaryrefslogtreecommitdiff
path: root/csrc
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-06-20 16:27:42 +0200
committerHannes Schulze <haschu0103@outlook.de>2025-06-20 16:27:42 +0200
commit519956797d905c0925b8dd418ceb17c7495ad30a (patch)
tree5a26d1b6df1ddce517a47d3105761820b29a8953 /csrc
parent1af3d14f3f995645a0de08a54b244c19840709e9 (diff)
set up haskell bindings for c lib
Diffstat (limited to 'csrc')
-rw-r--r--csrc/dbus/com.github.hannesschulze.foobar.xml8
-rw-r--r--csrc/dbus/org.bluez.xml66
-rw-r--r--csrc/dbus/org.freedesktop.Notifications.xml35
-rw-r--r--csrc/dbus/org.freedesktop.UPower.xml12
4 files changed, 0 insertions, 121 deletions
diff --git a/csrc/dbus/com.github.hannesschulze.foobar.xml b/csrc/dbus/com.github.hannesschulze.foobar.xml
deleted file mode 100644
index e8373a6..0000000
--- a/csrc/dbus/com.github.hannesschulze.foobar.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<node>
- <interface name="com.github.hannesschulze.foobar.Server">
- <method name="Inspector"/>
- <method name="Quit"/>
- <method name="ToggleLauncher"/>
- <method name="ToggleControlCenter"/>
- </interface>
-</node>
diff --git a/csrc/dbus/org.bluez.xml b/csrc/dbus/org.bluez.xml
deleted file mode 100644
index 669e325..0000000
--- a/csrc/dbus/org.bluez.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<node>
- <interface name="org.bluez.Adapter1">
- <method name="StartDiscovery"/>
- <method name="StopDiscovery"/>
- <method name="RemoveDevice">
- <arg name="device" type="o" direction="in"/>
- </method>
- <method name="SetDiscoveryFilter">
- <arg name="properties" type="a{sv}" direction="in"/>
- </method>
- <property name="Address" type="s" access="read"/>
- <property name="Name" type="s" access="read"/>
- <property name="Alias" type="s" access="readwrite"/>
- <property name="Class" type="u" access="read"/>
- <property name="Powered" type="b" access="readwrite"/>
- <property name="PowerState" type="s" access="read"/>
- <property name="Discoverable" type="b" access="readwrite"/>
- <property name="DiscoverableTimeout" type="u" access="readwrite"/>
- <property name="Pairable" type="b" access="readwrite"/>
- <property name="PairableTimeout" type="u" access="readwrite"/>
- <property name="Discovering" type="b" access="read"/>
- <property name="UUIDs" type="as" access="read"/>
- <property name="Modalias" type="s" access="read"/>
- </interface>
-
- <interface name="org.bluez.Device1">
- <method name="Disconnect"/>
- <method name="Connect"/>
- <method name="ConnectProfile">
- <arg name="UUID" type="s" direction="in"/>
- </method>
- <method name="DisconnectProfile">
- <arg name="UUID" type="s" direction="in"/>
- </method>
- <method name="Pair"/>
- <method name="CancelPairing"/>
- <property name="Address" type="s" access="read"/>
- <property name="Name" type="s" access="read"/>
- <property name="Alias" type="s" access="readwrite"/>
- <property name="Class" type="u" access="read"/>
- <property name="Appearance" type="q" access="read"/>
- <property name="Icon" type="s" access="read"/>
- <property name="Paired" type="b" access="read"/>
- <property name="Trusted" type="b" access="readwrite"/>
- <property name="Blocked" type="b" access="readwrite"/>
- <property name="LegacyPairing" type="b" access="read"/>
- <property name="RSSI" type="n" access="read"/>
- <property name="Connected" type="b" access="read"/>
- <property name="UUIDs" type="as" access="read"/>
- <property name="Modalias" type="s" access="read"/>
- <property name="Adapter" type="o" access="read"/>
- </interface>
-
- <interface name="org.bluez.AgentManager1">
- <method name="RegisterAgent">
- <arg name="agent" type="o" direction="in"/>
- <arg name="capability" type="s" direction="in"/>
- </method>
- <method name="UnregisterAgent">
- <arg name="agent" type="o" direction="in"/>
- </method>
- <method name="RequestDefaultAgent">
- <arg name="agent" type="o" direction="in"/>
- </method>
- </interface>
-</node>
diff --git a/csrc/dbus/org.freedesktop.Notifications.xml b/csrc/dbus/org.freedesktop.Notifications.xml
deleted file mode 100644
index 6b1d2f2..0000000
--- a/csrc/dbus/org.freedesktop.Notifications.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<node>
- <interface name="org.freedesktop.Notifications">
- <method name="Notify">
- <arg type="s" direction="in"/>
- <arg type="u" direction="in"/>
- <arg type="s" direction="in"/>
- <arg type="s" direction="in"/>
- <arg type="s" direction="in"/>
- <arg type="as" direction="in"/>
- <arg type="a{sv}" direction="in"/>
- <arg type="i" direction="in"/>
- <arg type="u" direction="out"/>
- </method>
- <method name="CloseNotification">
- <arg type="u" direction="in" name="id"/>
- </method>
- <method name="GetCapabilities">
- <arg type="as" direction="out"/>
- </method>
- <method name="GetServerInformation">
- <arg type="s" direction="out"/>
- <arg type="s" direction="out"/>
- <arg type="s" direction="out"/>
- <arg type="s" direction="out"/>
- </method>
- <signal name="NotificationClosed">
- <arg type="u"/>
- <arg type="u"/>
- </signal>
- <signal name="ActionInvoked">
- <arg type="u"/>
- <arg type="s"/>
- </signal>
- </interface>
-</node>
diff --git a/csrc/dbus/org.freedesktop.UPower.xml b/csrc/dbus/org.freedesktop.UPower.xml
deleted file mode 100644
index 18fc41d..0000000
--- a/csrc/dbus/org.freedesktop.UPower.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<node>
- <interface name="org.freedesktop.UPower.Device">
- <property name="State" type="u" access="read"/>
- <property name="Percentage" type="d" access="read"/>
- <property name="IsPresent" type="b" access="read"/>
- <property name="TimeToEmpty" type="x" access="read"/>
- <property name="TimeToFull" type="x" access="read"/>
- <property name="Energy" type="d" access="read"/>
- <property name="EnergyFull" type="d" access="read"/>
- <property name="EnergyRate" type="d" access="read"/>
- </interface>
-</node>