PDA

View Full Version : glib dbus signals with custom datatype/structure as parameter



sruthihsr
January 26th, 2012, 10:04 AM
i am using glib binding tool for implementation

i have the following in my xml

<signal name="MainSinkSoundPropertyChanged">
<arg name="sourceID" type="q" direction="out"/>
<arg name="SoundProperty" type="(nn)" direction="out"/>
</signal>
where sound property is a structure.
I am doing the client implementation..
Please tell me how do i define
dbus_g_proxy_add_signal and dbus_g_proxy_connect_signal