D-Bus Remote Controlled Car Example▲
Sélectionnez
&
lt;!
DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"
&
gt;
&
lt;node name=
"/com/trollech/examples/car"
&
gt;
&
lt;interface name=
"org.example.Examples.CarInterface"
&
gt;
&
lt;method name=
"accelerate"
/&
gt;
&
lt;method name=
"decelerate"
/&
gt;
&
lt;method name=
"turnLeft"
/&
gt;
&
lt;method name=
"turnRight"
/&
gt;
&
lt;signal name=
"crashed"
/&
gt;
&
lt;/
interface&
gt;
&
lt;/
node&
gt;