First DBUS server
This commit is contained in:
parent
8ce7c1a8a5
commit
09d58154eb
7 changed files with 419 additions and 6 deletions
16
dbus/com.example.mytest.xml
Normal file
16
dbus/com.example.mytest.xml
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
||||
<node>
|
||||
<interface name="com.example.mytest">
|
||||
<method name="hello">
|
||||
<arg name="name" direction="in" type="s"/>
|
||||
<arg name="msg" direction="out" type="s"/>
|
||||
</method>
|
||||
|
||||
<signal name="new_name">
|
||||
<arg name="name" type="s"/>
|
||||
</signal>
|
||||
|
||||
<property name="name" type="s" access="readwrite"/>
|
||||
</interface>
|
||||
</node>
|
Loading…
Add table
Add a link
Reference in a new issue