aboutsummaryrefslogtreecommitdiffstats
path: root/binding/gdbus/generate_interfaces.sh
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-09-18 08:31:03 +0200
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-09-27 14:49:44 +0800
commit928d8bc0941a74c1918fb72b06db59613a2afd49 (patch)
tree7472c37a32e59c50f4195257b37b0919717a4ee1 /binding/gdbus/generate_interfaces.sh
parent11a298844a56bd3965f6c63a0ddffe35ea5b06bc (diff)
binding: telephony: add initial binding
Split out binding from phone application Bug-AGL: SPEC-1757 Change-Id: Ie66364e20528ec1b7c67deb20247a843b289b68c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/gdbus/generate_interfaces.sh')
-rwxr-xr-xbinding/gdbus/generate_interfaces.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/binding/gdbus/generate_interfaces.sh b/binding/gdbus/generate_interfaces.sh
new file mode 100755
index 0000000..a60c435
--- /dev/null
+++ b/binding/gdbus/generate_interfaces.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+CG=gdbus-codegen
+API=api
+
+$CG \
+ --interface-prefix Ofono.Manager. \
+ --generate-c-code ofono_manager_interface \
+ --c-generate-object-manager \
+ $API/ofono_manager.xml
+
+$CG \
+ --interface-prefix Ofono.VoiceCallManager. \
+ --generate-c-code ofono_voicecallmanager_interface \
+ $API/ofono_voicecallmanager.xml
+
+$CG \
+ --interface-prefix Ofono.VoiceCall. \
+ --generate-c-code ofono_voicecall_interface \
+ $API/ofono_voice_call.xml