diff options
| author | Javier <dev.git@javispedro.com> | 2014-12-02 23:33:19 +0100 |
|---|---|---|
| committer | Javier <dev.git@javispedro.com> | 2014-12-02 23:33:19 +0100 |
| commit | c35a3a9bea759cadf1e975a2a62e50789cad096c (patch) | |
| tree | 0e8b48fdb8bf07226b18a87f312631debbf41383 /org.pebbled.Watch.xml | |
| parent | 81f91639969de0f3852a3fe73db13b4cb0ecf3b4 (diff) | |
define new D-Bus interface, use qmake to generate adaptors/interfaces
also slightly clean up the way d-bus is handled both in daemon and UI
Diffstat (limited to 'org.pebbled.Watch.xml')
| -rw-r--r-- | org.pebbled.Watch.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/org.pebbled.Watch.xml b/org.pebbled.Watch.xml new file mode 100644 index 0000000..72aab6b --- /dev/null +++ b/org.pebbled.Watch.xml @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node name="/org/pebbled/watch"> + <interface name="org.pebbled.Watch"> + <property name="Name" type="s" access="read"/> + <property name="Address" type="s" access="read"/> + <property name="Connected" type="b" access="read"/> + <!-- Qt does not yet support property changed signals, so we fake them. --> + <signal name="NameChanged"/> + <signal name="AddressChanged"/> + <signal name="ConnectedChanged"/> + <method name="Disconnect"/> + <method name="Reconnect"/> + <method name="Ping"> + <arg name="val" type="u" direction="in"/> + </method> + <method name="SyncTime"/> + <!-- The following methods resemble the official PebbleKit API --> + <method name="LaunchApp"> + <arg name="uuid" type="s" direction="in"/> + </method> + <method name="CloseApp"> + <arg name="uuid" type="s" direction="in"/> + </method> + <method name="SendAppMessage"> + <arg name="uuid" type="s" direction="in"/> + <arg name="message" type="a{sv}" direction="in"/> + <arg name="msg_ack" type="b" direction="out"/> + <annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="QVariantMap"/> + </method> + <signal name="AppMessage"> + <arg name="uuid" type="s"/> + <arg name="message" type="a{sv}"/> + <annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="QVariantMap"/> + </signal> + <!-- The following method are used for configuration of JSKit applications by the client app --> + <method name="StartAppConfiguration"> + <arg name="uuid" type="s" direction="in"/> + <arg name="config_url" type="s" direction="out"/> + </method> + <method name="SendAppConfigurationData"> + <arg name="uuid" type="s" direction="in"/> + <arg name="data" type="s" direction="in"/> + </method> + </interface> +</node> |
