summaryrefslogtreecommitdiffstats
path: root/binding/gdbus/generate_interfaces.sh
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2018-06-04 14:31:40 -0400
committerMatt Porter <mporter@konsulko.com>2018-06-14 10:58:53 -0400
commit2cf42de672004e56063f83ad26da8fec1c757e43 (patch)
tree15b0d0be0f2cf6f716389c3725740aff44ec8f15 /binding/gdbus/generate_interfaces.sh
parent830bf99eba883c93cf231b661310da57eeb54a88 (diff)
Initial Bluetooth PBAP binding
Supports the following features: - retrieval of phonebook contacts - retrieval of call history (incoming/outgoing/missed/combined lists) - retrieval of individual contact entry by handle - search for contact by phone number Bug-AGL: SPEC-1437 Change-Id: I1d0d5c4c02e5ba4a5db1bcfc932421fd9d478426 Signed-off-by: Matt Porter <mporter@konsulko.com>
Diffstat (limited to 'binding/gdbus/generate_interfaces.sh')
-rwxr-xr-xbinding/gdbus/generate_interfaces.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/binding/gdbus/generate_interfaces.sh b/binding/gdbus/generate_interfaces.sh
new file mode 100755
index 0000000..8c8914d
--- /dev/null
+++ b/binding/gdbus/generate_interfaces.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+CG=gdbus-codegen
+API=api
+
+$CG \
+ --interface-prefix Obex.Client1. \
+ --generate-c-code obex_client1_interface \
+ --c-generate-object-manager \
+ $API/client1.xml
+
+$CG \
+ --interface-prefix Obex.Session1. \
+ --generate-c-code obex_session1_interface \
+ $API/session1.xml
+
+$CG \
+ --interface-prefix Obex.PhonebookAccess1. \
+ --generate-c-code obex_phonebookaccess1_interface \
+ $API/phonebookaccess1.xml
+
+$CG \
+ --interface-prefix Obex.Transfer1. \
+ --generate-c-code obex_transfer1_interface \
+ $API/transfer1.xml
+
+$CG \
+ --interface-prefix org.freedesktop.DBus.Properties. \
+ --generate-c-code freedesktop_dbus_properties_interface \
+ $API/org.freedesktop.DBus.Properties.xml