aboutsummaryrefslogtreecommitdiffstats
path: root/gdbus/generate_interfaces.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gdbus/generate_interfaces.sh')
-rwxr-xr-xgdbus/generate_interfaces.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdbus/generate_interfaces.sh b/gdbus/generate_interfaces.sh
new file mode 100755
index 0000000..21874be
--- /dev/null
+++ b/gdbus/generate_interfaces.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+CG=gdbus-codegen
+API=api
+
+$CG \
+ --interface-prefix org.lightmediascanner. \
+ --generate-c-code lightmediascanner_interface \
+ $API/org.lightmediascanner.xml
+
+$CG \
+ --interface-prefix org.freedesktop.UDisks. \
+ --generate-c-code udisks_interface \
+ $API/org.freedesktop.UDisks.xml