mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #42
- Added DBus handler interface - Added more complex flow to both samples - Added custom class to be transfered
This commit is contained in:
8
samples/dbusclient/dbus/aircraftmanager.xml
Normal file
8
samples/dbusclient/dbus/aircraftmanager.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<!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="org.vatsim.pilotClient.AircraftManager">
|
||||
<property name="aircraftList" type="a(ii)" access="read">
|
||||
<annotation name="org.qtproject.QtDBus.QtTypeName" value="CRemoteAircraftList"/>
|
||||
</property>
|
||||
</interface>
|
||||
</node>
|
||||
6
samples/dbusclient/dbus/atcmanager.xml
Normal file
6
samples/dbusclient/dbus/atcmanager.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<!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="org.vatsim.pilotClient.AtcManager">
|
||||
<property name="atcList" type="as" access="read"/>
|
||||
</interface>
|
||||
</node>
|
||||
11
samples/dbusclient/dbus/fsdclient.xml
Normal file
11
samples/dbusclient/dbus/fsdclient.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<!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="org.vatsim.pilotClient.FsdClient">
|
||||
<signal name="connectedTo">
|
||||
<arg name="host" type="s" direction="out"/>
|
||||
</signal>
|
||||
<method name="connectTo">
|
||||
<arg name="host" type="s" direction="in"/>
|
||||
</method>
|
||||
</interface>
|
||||
</node>
|
||||
Reference in New Issue
Block a user