summaryrefslogtreecommitdiffstats
path: root/telephony-binding/gdbus/generate_interfaces.sh
blob: a60c435107f1d72834afdaaed194947b709f46e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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