diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2015-01-03 16:38:02 +0100 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2015-01-03 19:07:48 +0100 |
| commit | 4e7da1944f5fa75a0739c0757d40a8102f045365 (patch) | |
| tree | 5f3fe179256536e4135eb4d5031a1d754af5e26c /org.pebbled.Watch.xml | |
| parent | 4150005566bec7827ce1cdd759a2397d47eba583 (diff) | |
| parent | e6ec758b364fcaf9fda35e56740c3fcd7e8fe25e (diff) | |
Merge remote-tracking branch 'javispedro/js-testing'
Conflicts:
daemon/daemon.pro
daemon/dbusconnector.cpp
daemon/manager.cpp
daemon/watchcommands.cpp
daemon/watchcommands.h
daemon/watchconnector.cpp
daemon/watchconnector.h
log4qt-debug.conf
log4qt-release.conf
rpm/pebble.spec
rpm/pebble.yaml
Diffstat (limited to 'org.pebbled.Watch.xml')
| -rw-r--r-- | org.pebbled.Watch.xml | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/org.pebbled.Watch.xml b/org.pebbled.Watch.xml new file mode 100644 index 0000000..6336d04 --- /dev/null +++ b/org.pebbled.Watch.xml @@ -0,0 +1,70 @@ +<?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"/> + <property name="AppUuid" type="s" access="read"/> + + <!-- Qt does not yet support property changed signals, so we fake them. --> + <signal name="NameChanged"/> + <signal name="AddressChanged"/> + <signal name="ConnectedChanged"/> + <signal name="AppUuidChanged"/> + + <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="AppOpened"> + <arg name="uuid" type="s"/> + </signal> + <signal name="AppClosed"> + <arg name="uuid" type="s"/> + </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> + + <!-- Bank management methods --> + <property name="AppSlots" type="as" access="read"/> + <signal name="AppSlotsChanged"/> + <method name="UnloadApp"> + <arg name="slot" type="i" direction="in"/> + </method> + <method name="UploadApp"> + <arg name="uuid" type="s" direction="in"/> + <arg name="slot" type="i" direction="in"/> + </method> + + <!-- Installed apps (not necessarily uploaded) --> + <property name="AllApps" type="aa{sv}" access="read"> + <annotation name="org.qtproject.QtDBus.QtTypeName" value="QVariantList"/> + </property> + <signal name="AllAppsChanged"/> + </interface> +</node> |
