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