aboutsummaryrefslogtreecommitdiffstats
path: root/binding/gdbus/generate_interfaces.sh
blob: 8c8914df67488e6c5e66348264e56d81c05b887f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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