summaryrefslogtreecommitdiffstats
path: root/binding/gdbus/generate_interfaces.sh
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-05-16 16:14:30 -0400
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-06-02 22:28:18 -0700
commitb0f682b1579e520896ccd5492d6666d962a0c226 (patch)
tree159147561c294cd52de6d6c3b6e81c3186fedef6 /binding/gdbus/generate_interfaces.sh
parent535f2d051f965e9ee4a9c1eed13a8d0e997463e8 (diff)
binding: add initial media binding
Add initial media binding that populates playlist on media insertion Bug-AGL: SPEC-610 Change-Id: I24227f7c718606191ae3de72bd692e747353c919 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/gdbus/generate_interfaces.sh')
-rwxr-xr-xbinding/gdbus/generate_interfaces.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/binding/gdbus/generate_interfaces.sh b/binding/gdbus/generate_interfaces.sh
new file mode 100755
index 0000000..21874be
--- /dev/null
+++ b/binding/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